:root {
  color-scheme: dark;
  font-family:
    Inter, "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: #f4f7f6;
  background: #080b0d;
  font-synthesis: none;
  --bg: #080b0d;
  --surface: #0e1316;
  --surface-strong: #12191d;
  --line: #243038;
  --line-soft: #192227;
  --text: #f4f7f6;
  --muted: #94a2a8;
  --faint: #65747a;
  --accent: #12cfa3;
  --accent-strong: #09ad88;
  --accent-dark: #073a31;
  --warm: #ffb45b;
  --danger: #ff6f6f;
  --header-height: 68px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100% - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 11, 13, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a,
.header-link,
footer > a:last-child {
  transition: color 160ms ease;
}

.site-header nav a:hover,
.header-link:hover,
footer > a:last-child:hover {
  color: var(--accent);
}

.header-link {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-bottom: 0;
  background: #041813;
  box-shadow: inset 0 -190px 150px -90px #080b0d;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("./assets/app-preview.png");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: cover;
  opacity: 0.14;
  filter: saturate(0.66) brightness(0.58);
}

.hero-shade {
  z-index: -2;
  background: rgba(3, 21, 16, 0.74);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 92px;
  text-align: center;
}

.hero-content > * {
  max-width: 980px;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 18px;
  height: 2px;
  background: var(--accent);
}

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

h1 {
  margin-bottom: 12px;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-slogan {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 76px;
  line-height: 1.18;
  font-weight: 700;
}

.hero-slogan span,
.hero-slogan strong {
  display: block;
}

.hero-slogan em {
  font-style: normal;
}

.hero-slogan strong {
  color: #59e4aa;
  font-size: 1.12em;
  font-style: italic;
  font-weight: 700;
}

.hero-copy {
  margin: 24px auto 30px;
  color: #b9c3c6;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  min-width: 176px;
  background: var(--accent);
  color: #03120f;
}

.button-primary:hover {
  background: #38ddb8;
}

.button-secondary {
  border-color: #35434a;
  background: rgba(12, 17, 20, 0.72);
  color: #dbe2e3;
}

.release-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.release-note strong {
  color: var(--accent);
}

.workflow {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  padding-top: 64px;
}

.release-note .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

.section-band {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-band + .section-band {
  border-top: 1px solid var(--line-soft);
}

.workflow {
  padding-top: 40px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 9px 0 12px;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list li {
  min-width: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px 18px;
  border-right: 1px solid var(--line-soft);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list span {
  color: var(--accent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.workflow-list strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.workflow-list small {
  color: var(--faint);
  line-height: 1.5;
}

.showcase-main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #05080a;
}

.showcase-main img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 19px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.showcase-caption strong {
  white-space: nowrap;
}

.showcase-caption span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

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

.showcase-grid figure,
.growth-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.showcase-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.showcase-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 17px 18px;
  border-top: 1px solid var(--line);
}

.showcase-grid figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.results-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.2fr);
  align-items: end;
  gap: 46px;
  margin-bottom: 34px;
}

.results-heading .section-heading {
  margin-bottom: 0;
}

.results-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-summary div {
  min-width: 0;
  padding: 20px 14px;
  border-right: 1px solid var(--line-soft);
}

.results-summary div:last-child {
  border-right: 0;
}

.results-summary strong,
.results-summary span {
  display: block;
}

.results-summary strong {
  color: var(--accent);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.results-summary span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.growth-figures {
  display: grid;
  gap: 14px;
}

.growth-figure {
  background: #f5f5f5;
}

.growth-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.growth-figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid #dce2e4;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.video-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 58px 0 22px;
}

.video-results-heading h3 {
  margin: 8px 0 0;
  font-size: 24px;
}

.privacy-note {
  padding: 7px 10px;
  border: 1px solid #4a3b2c;
  border-radius: 999px;
  color: var(--warm);
  font-size: 12px;
  white-space: nowrap;
}

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

.video-result-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.video-result-card img {
  display: block;
  width: 100%;
  height: auto;
}

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

.download-card {
  min-height: 222px;
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.download-card.recommended {
  border-color: var(--accent-strong);
  background: #0b1c19;
}

.platform-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #334148;
  border-radius: 7px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
}

.download-card h3 {
  margin: 5px 0 6px;
  font-size: 19px;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.button-card {
  grid-column: 1 / -1;
  border-color: #344249;
  background: #10171a;
}

.button-card:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.capability-grid article {
  min-height: 184px;
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--line);
}

.capability-grid article:nth-child(odd) {
  padding-right: 46px;
  border-right: 1px solid var(--line);
}

.capability-grid article:nth-child(even) {
  padding-left: 46px;
}

.capability-grid span {
  color: var(--warm);
  font-size: 12px;
}

.capability-grid h3 {
  margin: 18px 0 9px;
  font-size: 20px;
}

.capability-grid p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 4px;
  font-weight: 800;
}

.faq-list p {
  max-width: 760px;
  margin: -8px 0 24px;
  color: var(--muted);
  line-height: 1.75;
}

footer {
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

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

footer p {
  margin: 0;
}

footer > a:last-child {
  justify-self: end;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 76px;
  }

  .workflow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workflow-list li:nth-child(4) {
    border-right: 0;
  }

  .workflow-list li:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line-soft);
  }

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

  .showcase-grid img {
    aspect-ratio: 16 / 9;
  }

  .results-heading {
    grid-template-columns: 1fr;
  }

  .video-results-grid {
    grid-template-columns: 1fr;
  }

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

  .download-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    padding: 0 18px;
  }

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

  .hero {
    min-height: 590px;
  }

  .hero-media {
    background-position: center;
    background-size: auto 100%;
    opacity: 0.12;
  }

  .hero-shade {
    background: rgba(3, 21, 16, 0.8);
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 62px 0 72px;
  }

  .hero-slogan {
    font-size: 46px;
  }

  .hero-slogan span {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-band {
    width: calc(100% - 36px);
    padding: 70px 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

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

  .workflow-list li,
  .workflow-list li:nth-child(4) {
    min-height: 132px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .workflow-list li:nth-child(even) {
    border-right: 0;
  }

  .showcase-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .showcase-caption span {
    text-align: left;
  }

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

  .results-summary div:nth-child(2) {
    border-right: 0;
  }

  .results-summary div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .video-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-card {
    grid-template-columns: 46px 1fr;
    padding: 20px;
  }

  .platform-mark {
    width: 46px;
    height: 46px;
  }

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

  .capability-grid article,
  .capability-grid article:nth-child(odd),
  .capability-grid article:nth-child(even) {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
  }

  footer {
    width: calc(100% - 36px);
    grid-template-columns: 1fr auto;
    padding: 28px 0;
  }

  footer p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
