:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  --primary: #b63854;
  --primary-dark: #922a43;
  --primary-rgb: 182, 56, 84;
  --primary-soft: #fbf1f3;
  --headline-end: #6243a6;
  --accent-rgb: 232, 161, 110;
  --ink: #2b2430;
  --muted: #665d68;
  --line: #eee3e7;
  --bg: #fefcfd;
  --bg-alt: #faf8fa;
  --surface: #ffffff;
  --header-bg: rgba(254, 252, 253, .91);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 65px;
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: 65px;
}

a { color: inherit; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

.container {
  width: min(100% - 48px, 1088px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 65px;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100% - 48px, 1088px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.footer-brand img { display: block; width: 44px; height: 44px; flex: none; }

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.site-nav a:hover,
.site-footer nav a:hover { color: var(--primary); }

.header-cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), .22);
}

.hero {
  overflow: hidden;
  padding: 86px 0 96px;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--primary-rgb), .045), transparent 36%),
    radial-gradient(circle at 88% 54%, rgba(var(--accent-rgb), .05), transparent 33%),
    var(--bg);
}

.hero-inner { text-align: center; }

h1 {
  max-width: 800px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(40px, 5.2vw, 60px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.25;
}

.hero-subline {
  display: inline-block;
  margin-top: 8px;
  font-size: .8em;
  line-height: 1.4;
  text-wrap: balance;
}

.gradient-name {
  color: var(--primary);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .gradient-name {
    background: linear-gradient(110deg, var(--primary), var(--headline-end));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

@media (forced-colors: active) {
  .gradient-name { background: none; color: currentColor; -webkit-text-fill-color: currentColor; }
}

.hero-copy {
  max-width: 672px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 13px 30px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  touch-action: manipulation;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  transform: translateY(-2px);
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), .3);
}

.download-action {
  width: min(100%, 320px);
  min-width: 0;
  gap: 12px;
  padding-inline: 32px;
  font-size: 18px;
}

.button-download-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: none;
  fill: currentColor;
}

.section { padding: 88px 0; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.download h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.1vw, 38px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.3;
}

.section-heading p {
  max-width: 660px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.discover,
.interface,
.faq { background: var(--surface); }

.discover-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 30px;
}

.discover-types span {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--card-columns, 1), minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  align-items: stretch;
  align-content: start;
  height: auto;
  min-height: 0;
  gap: var(--card-gap, 24px);
}

.card-grid > .text-card {
  min-width: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}

.text-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.text-card:hover,
.interface-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), .12);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.card-icon svg { width: 29px; height: 29px; }

.text-card h3 {
  margin: 0 0 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.4;
}

.text-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.discover-grid { --card-columns: 3; }
.features, .steps { background: var(--bg-alt); }
.feature-grid { --card-columns: 4; --card-gap: 18px; }

.interface-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.interface-card {
  flex: none;
  width: fit-content;
  margin: 0;
  padding: 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.interface-media {
  width: fit-content;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-alt);
}

.interface-media img {
  display: block;
  width: auto;
  height: 400px;
  max-width: none;
}

.interface-card-featured .interface-media img { height: 470px; }

.interface-card figcaption {
  padding: 16px 5px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.steps-grid {
  --card-columns: 4;
  --card-gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  padding: 22px;
  background: var(--surface);
}

.step-card:not(:last-child)::after {
  position: absolute;
  top: 43px;
  right: calc(-1 * var(--card-gap) - 1px);
  width: var(--card-gap);
  border-top: 2px dashed rgba(var(--primary-rgb), .42);
  content: "";
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 23px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 750;
}

.step-icon {
  display: block;
  width: 37px;
  height: 37px;
  flex: none;
  color: var(--primary);
}

.faq-layout { max-width: 900px; }
.faq .section-heading { margin-bottom: 32px; }
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 18px 48px 18px 4px;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  transition: color .2s ease;
}
.faq-list summary:hover { color: var(--primary); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  right: 8px;
  content: "+";
  color: var(--primary);
  font-size: 24px;
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  max-width: 700px;
  margin: 0;
  padding: 0 48px 24px 4px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.download {
  padding: 86px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--primary-rgb), .04), transparent 34%),
    var(--bg-alt);
  text-align: center;
}
.download-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.download-inner > div > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.download-button { margin-top: 28px; }

.site-footer {
  padding: 66px 0 28px;
  background: var(--ink);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 2fr) repeat(3, minmax(120px, 1fr));
  gap: 44px;
  padding-bottom: 58px;
}

.footer-about p {
  max-width: 230px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 15px;
  line-height: 1.7;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.footer-brand img { filter: brightness(0) invert(1); }

.footer-group h3 {
  margin: 0 0 19px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.site-footer .footer-group nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}

.site-footer .footer-group a {
  min-height: 28px;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  font-weight: 400;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-group a:hover {
  transform: translateX(3px);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1020px) {
  .feature-grid { --card-columns: 2; }
  .steps-grid { --card-gap: 24px; }
  .site-nav { gap: 13px; }
}

@media (max-width: 900px) {
  .interface-grid { gap: 24px; }
  .interface-media img { height: 330px; }
  .interface-card-featured .interface-media img { height: 400px; }
  .steps-grid {
    --card-columns: 1;
    --card-gap: 16px;
    max-width: 600px;
  }
  .step-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 32px;
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    padding: 17px 18px;
  }
  .step-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: calc(-1 * var(--card-gap));
    left: 35px;
    width: 0;
    height: var(--card-gap);
    border-top: 0;
    border-left: 2px dashed rgba(var(--primary-rgb), .42);
  }
  .step-top { display: contents; }
  .step-number { grid-column: 1; grid-row: 1 / span 2; width: 36px; height: 36px; font-size: 12px; }
  .step-icon { grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px; }
  .step-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 18px; }
  .step-card p { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 1.6; }
}

@media (max-width: 820px) {
  .site-footer { padding-top: 52px; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; padding-bottom: 42px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { margin-top: 12px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 108px; }
  body { padding-top: 108px; }
  .container,
  .header-inner { width: min(100% - 36px, 640px); }
  .site-header { height: 108px; }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 52px 56px;
    column-gap: 12px;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .header-cta { grid-column: 2; grid-row: 1; min-height: 38px; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 56px;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; min-height: 44px; font-size: 13px; }
  .hero { padding: 63px 0 75px; }
  .hero-copy { font-size: 17px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 31px; }
  .discover-grid { --card-columns: 1; }
  .discover-grid .info-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 6px;
    padding: 20px;
  }
  .discover-grid .card-icon { grid-column: 1; grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; }
  .discover-grid .info-card h3 { grid-column: 2; margin: 0; font-size: 18px; }
  .discover-grid .info-card p { grid-column: 2; font-size: 14.5px; line-height: 1.6; }
  .interface-grid {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 8px 1px 14px;
  }
  .interface-card { scroll-snap-align: start; }
  .interface-media img { height: 400px; }
  .interface-card-featured .interface-media img { height: 470px; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(38px, 10.8vw, 48px); }
  .hero-copy { line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .discover-types { max-width: 250px; margin-inline: auto; }
  .feature-grid { --card-columns: 1; }
  .text-card { padding: 24px; }
  .step-card { padding: 18px; }
  .section-heading h2,
  .download h2 { font-size: 31px; }
  .section-heading p { font-size: 16px; }
  .faq-list summary { font-size: 16px; }
  .download { padding: 74px 0; }
  .download-inner > div > p:last-child { font-size: 16px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
