:root {
  --teal: #02a9ef;
  --teal-dark: #192e81;
  --ink: #171a1f;
  --text: #3d4450;
  --muted: #66707c;
  --eyebrow: #8b939f;
  --line: #e6e8ee;
  --soft: #f6f7f9;
  --mint: #f2faf7;
  --dark: #121417;
  --footer: #0e1013;
  --header-h: 90px;
  --max: 1160px;
  --shadow: 0 22px 50px rgba(23, 26, 31, 0.1);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

h1, h2, h3 {
  letter-spacing: -0.03em;
  font-weight: 600;
}

h1,
h2 {
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

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

.eyebrow {
  margin-bottom: 12px;
  color: var(--eyebrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section {
  padding: 88px 0;
}

.center-head {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.center-head h2,
.split h2,
.learn-head h2,
.close h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.15;
}

.center-head p {
  margin-top: 14px;
}

.band-soft {
  background: var(--soft);
}

.band-mint {
  background: var(--mint);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 26, 31, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 36px;
}

.site-header .logo img {
  height: 70px;
  width: auto;
}

.footer .logo img,
.brand-lockup img {
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: #2c3138;
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  font-weight: 600;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  border-color: #d7dbe2;
  background: #fff;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #c3c8d1;
  background: #fafbfc;
}

.link-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.link-play:hover {
  color: var(--teal-dark);
}

.play-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.play-dot svg {
  margin-left: 1px;
}

.hero {
  padding: 54px 0 28px;
}

.hero-grid,
.split,
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  max-width: 520px;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.04;
}

.hero .lead {
  max-width: 440px;
  margin: 18px 0 28px;
}

.hero-actions,
.cta-actions,
.close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eef1f4;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-hero {
  aspect-ratio: 16 / 10.4;
}

.shot-plain {
  box-shadow: none;
  border: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 18px;
  align-items: start;
}

.step-num,
.badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}

.step h3,
.card h3,
.lib h3,
.guide h3,
.point h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.step p,
.card p,
.lib p,
.guide p,
.point p,
.checks,
.footer,
.close p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.step-arrow {
  display: grid;
  place-items: center;
  height: 36px;
  color: #c3c8d1;
}

.split-copy h2 {
  max-width: 460px;
}

.split-copy .lead {
  margin-top: 14px;
}

.points {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.point {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.point h3 {
  margin: 1px 0 4px;
  font-size: 16px;
}

.point p {
  font-size: 14.5px;
}

.mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 200, 184, 0.12);
  color: var(--teal-dark);
}

.mark svg,
.lib-icon svg {
  display: block;
}

.shot-wide {
  aspect-ratio: 16 / 10.6;
}

.lib-grid,
.card-grid,
.guide-grid {
  display: grid;
  gap: 28px;
}

.lib-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid,
.guide-grid {
  grid-template-columns: 1fr 1fr;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

.lib-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(23, 26, 31, 0.06);
}

.band-soft .lib-icon,
.band-mint .lib-icon {
  background: #fff;
}

.learn-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.learn-head .lead {
  margin-top: 12px;
}

.guide h3,
.card h3 {
  margin-top: 16px;
}

.shot-video {
  aspect-ratio: 16 / 9;
  box-shadow: none;
  background: #121417;
}

.shot video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #121417;
}

.shot-video .play {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: rgba(18, 20, 23, 0.28);
  box-shadow: none;
  cursor: pointer;
  z-index: 1;
}

.shot-video .play span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.shot-video.is-playing .play {
  display: none;
}

.time:empty {
  display: none;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.time {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(17, 19, 23, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.cta {
  background: var(--dark);
  color: #fff;
}

.cta-grid {
  grid-template-columns: 1.05fr 0.95fr;
  padding: 8px 0;
}

.cta h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}

.cta .lead {
  max-width: 460px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  margin-top: 28px;
}

.shot-cta {
  aspect-ratio: 16 / 10;
}

.owner-screen {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
}

.owner-screen h2 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
}

.footer-owner {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.footer-owner span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.74);
}

.footer a:hover {
  color: #fff;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

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

.footer-simple p,
.legal {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.footer-rich {
  display: grid;
  gap: 22px;
  padding: 28px 0 22px;
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  white-space: nowrap;
}

.brand-lockup span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 22px;
}

.footer-links a {
  white-space: nowrap;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.subnav nav {
  display: flex;
  gap: 32px;
}

.subnav nav a {
  position: relative;
  padding: 22px 0 18px;
  color: #66707c;
  font-size: 15px;
  font-weight: 500;
}

.subnav nav a.is-active {
  color: var(--ink);
}

.subnav nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.subnav .btn {
  min-height: 40px;
  padding: 0 16px;
}

.cards .shot {
  aspect-ratio: 16 / 10.5;
  box-shadow: none;
  border: 1px solid var(--line);
}

.checks {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 15.5px;
}

.shot-board {
  aspect-ratio: 4 / 3.15;
}

.chip {
  position: absolute;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(23, 26, 31, 0.1);
}

.chip-a { top: 10%; left: 5%; }
.chip-b { top: 12%; right: 5%; }
.chip-c { bottom: 14%; left: 4%; }
.chip-d { bottom: 11%; right: 4%; }

.close {
  padding-top: 28px;
  text-align: center;
}

.close h2,
.close p {
  margin-inline: auto;
}

.close p {
  max-width: 520px;
  margin-top: 12px;
}

.close-actions {
  justify-content: center;
  margin-top: 28px;
}

.page-software {
  scroll-padding-top: 150px;
}

#libraries,
#learn {
  scroll-margin-top: 88px;
}

.page-software #overview,
.page-software #workflow,
.page-software #features,
.page-software #learn,
.page-software #start {
  scroll-margin-top: 156px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cta-grid,
  .steps,
  .cards {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  .lib-grid,
  .card-grid,
  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero {
    padding-top: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-simple,
  .footer-top,
  .legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-owner {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px 8px;
  }

  .lib-grid,
  .card-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .subnav-inner {
    align-items: stretch;
    flex-direction: column;
    padding: 10px 0;
  }

  .subnav nav {
    gap: 18px;
    overflow-x: auto;
  }

  .subnav .btn {
    width: fit-content;
    margin-bottom: 8px;
  }

  .chip {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }
}

.about-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.about-head h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
}

.about-head .lead {
  margin-top: 14px;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.about-card + .about-card {
  margin-top: 20px;
}

.about-card h2 {
  padding: 22px 28px 0;
  font-size: 20px;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table th,
.about-table td {
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.about-table tr:last-child th,
.about-table tr:last-child td {
  border-bottom: 0;
}

.about-table th {
  width: 240px;
  color: var(--muted);
  font-size: 14px;
}

.about-table td {
  color: var(--ink);
}

.about-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .about-table th,
  .about-table td {
    display: block;
    width: auto;
    padding: 12px 20px;
  }

  .about-table th {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .about-card h2 {
    padding: 20px 20px 0;
  }
}

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