:root {
  --paper: #f4f5f6;
  --paper-deep: #e2e4e7;
  --ink: #12141a;
  --muted: rgba(18, 20, 26, 0.56);
  --line: rgba(18, 20, 26, 0.14);
  --white: #ffffff;
  --coral: #ff6b6b;
  --coral-light: #ff9393;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1320px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 13px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 245, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.brand strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  font-size: 11px;
  font-weight: 700;
}

.nav__links a {
  position: relative;
  padding-block: 9px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.reading-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
}

.kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding-block: clamp(44px, 6vh, 72px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(54px, 7vw, 112px);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__copy .kicker {
  color: var(--muted);
}

.hero h1 {
  margin: 18px 0 26px;
  font-size: clamp(84px, 9.3vw, 146px);
  font-weight: 820;
  letter-spacing: -0.085em;
  line-height: 0.82;
  white-space: nowrap;
}

.hero__role {
  font-size: clamp(36px, 4.1vw, 62px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero__summary {
  max-width: 520px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.primary-link {
  width: 184px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-inline: 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}

.primary-link b {
  color: var(--coral-light);
  font-size: 16px;
}

.hero__visual {
  position: relative;
  width: 100%;
  height: min(72vh, 720px);
  min-height: 500px;
  overflow: hidden;
  background: #151515;
  cursor: pointer;
  isolation: isolate;
  text-align: left;
  transition: transform 180ms var(--ease-out);
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 26%, transparent 63%, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 260ms var(--ease-out), filter 220ms ease;
}

.hero__visual-top,
.hero__visual-caption,
.round-play {
  position: absolute;
  z-index: 2;
}

.hero__visual-top {
  top: 19px;
  left: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.17em;
}

.round-play {
  top: 20px;
  right: 20px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  transition: transform 180ms var(--ease-out), background-color 180ms ease;
}

.hero__visual-caption {
  right: 22px;
  bottom: 19px;
  left: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--white);
}

.hero__visual-caption b {
  font-size: 17px;
}

.hero__visual-caption i {
  color: var(--coral-light);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero__side {
  position: absolute;
  right: 9px;
  bottom: 50%;
  color: rgba(17, 17, 17, 0.38);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: translateY(50%);
}

.section-head {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 78px);
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.section-number {
  align-self: start;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(50px, 7.2vw, 100px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.section-head > p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.work-section,
.product-section,
.operation-section {
  padding-block: clamp(100px, 11vw, 160px);
}

.work-section {
  background: var(--ink);
  color: var(--white);
}

.section-head--dark {
  border-color: rgba(255, 255, 255, 0.34);
}

.section-head--dark .kicker,
.section-head--dark > p {
  color: rgba(255, 255, 255, 0.56);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.work-card {
  min-width: 0;
  background: var(--ink);
}

.work-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #222;
  cursor: pointer;
  isolation: isolate;
  text-align: left;
  transition: transform 180ms var(--ease-out);
}

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 36%, rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms var(--ease-out), filter 220ms ease;
}

.work-card:nth-child(1) .work-card__media img {
  object-position: 49% center;
}

.work-card:nth-child(2) .work-card__media img {
  object-position: 46% center;
}

.work-card:nth-child(3) .work-card__media img {
  object-position: 51% center;
}

.card-index,
.mini-play {
  position: absolute;
  z-index: 2;
}

.card-index {
  top: 16px;
  left: 17px;
  color: var(--coral-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mini-play {
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  transition: transform 180ms var(--ease-out), background-color 180ms ease;
}

.work-card__body {
  min-height: 142px;
  padding: 24px 22px 27px;
}

.work-card__body p {
  color: var(--coral-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.work-card__body h3 {
  margin-top: 9px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 720;
  letter-spacing: -0.04em;
}

.work-card__body span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.47);
  font-size: 10px;
}

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

.product-case {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.product-case__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px);
}

.case-label {
  color: var(--coral);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.product-case__copy h3 {
  margin: 22px 0 26px;
  font-size: clamp(50px, 6.6vw, 90px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.case-summary {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.9;
}

.product-flow {
  width: 100%;
  max-width: 540px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.product-flow li {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px 14px 14px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.product-flow li:not(:first-child) {
  padding-left: 14px;
}

.product-flow li:last-child {
  border-right: 0;
}

.product-flow b {
  color: var(--coral-light);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.product-flow span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

.product-play {
  width: 194px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-inline: 18px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}

.product-demo {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--coral);
  cursor: pointer;
  isolation: isolate;
  transition: transform 180ms var(--ease-out);
}

.product-demo::before {
  content: "AI";
  position: absolute;
  right: -0.08em;
  bottom: -0.24em;
  color: rgba(17, 17, 17, 0.08);
  font-size: 360px;
  font-weight: 900;
  letter-spacing: -0.16em;
  line-height: 1;
}

.product-demo__device {
  position: relative;
  z-index: 1;
  width: min(268px, 68%);
  aspect-ratio: 9 / 18.6;
  overflow: hidden;
  padding: 7px;
  border-radius: 36px;
  background: #050505;
  box-shadow: 0 36px 90px rgba(17, 17, 17, 0.38);
}

.product-demo__device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.product-demo__speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 21px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.round-play--small {
  top: 50%;
  right: auto;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
}

.product-demo__note {
  position: absolute;
  right: 22px;
  bottom: 19px;
  z-index: 2;
  color: rgba(17, 17, 17, 0.62);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.operation-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
}

.account-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 550px auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.account-card:nth-child(2) {
  margin-top: 86px;
}

.account-card__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.account-card__visual > span {
  position: absolute;
  bottom: 17px;
  left: 18px;
  z-index: 2;
  color: rgba(17, 17, 17, 0.48);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.account-card__visual figure {
  position: absolute;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 25px 54px rgba(17, 17, 17, 0.21);
}

.account-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.account-card__visual--company {
  background: #d7d9d2;
}

.account-card__visual--company figure:first-child {
  top: 42px;
  left: 8%;
  width: 43%;
  height: 575px;
  transform: rotate(-2deg);
}

.account-card__visual--company figure:nth-child(2) {
  top: 68px;
  right: 7%;
  width: 45%;
  height: 575px;
  transform: rotate(2deg);
}

.account-card__visual--ip {
  background: #1b1b1b;
}

.account-card__visual--ip figure {
  top: 40px;
  bottom: -150px;
  left: 50%;
  width: min(390px, 64%);
  transform: translateX(-50%);
}

.account-card__visual--ip > span {
  color: rgba(255, 255, 255, 0.48);
}

.account-card__body {
  padding: clamp(30px, 4vw, 48px);
}

.account-card__body h3 {
  margin: 11px 0 14px;
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 760;
  letter-spacing: -0.05em;
}

.account-card__body > p:not(.case-label) {
  max-width: 55ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding-inline: 14px;
  border-right: 1px solid var(--line);
}

.metrics div:first-child {
  padding-left: 0;
}

.metrics div:last-child {
  padding-right: 0;
  border-right: 0;
}

.metrics dt {
  color: var(--muted);
  font-size: 9px;
}

.metrics dd {
  margin-top: 3px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 790;
  letter-spacing: -0.04em;
}

.account-card__body small {
  display: block;
  margin-top: 8px;
  color: #8b8882;
  font-size: 8px;
}

.footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
}

.footer__inner b {
  font-size: 14px;
}

.footer__inner span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.video-dialog {
  width: min(1080px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--white);
}

.video-dialog::backdrop {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-dialog__panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #080808;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
}

.video-dialog__head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 17px 13px 22px;
}

.video-dialog__head h2 {
  font-size: 16px;
  font-weight: 700;
}

.video-dialog__head p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.video-dialog__close {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}

.video-dialog__close span {
  position: absolute;
  top: 20px;
  left: 13px;
  width: 16px;
  height: 1px;
  background: var(--white);
}

.video-dialog__close span:first-child {
  transform: rotate(45deg);
}

.video-dialog__close span:last-child {
  transform: rotate(-45deg);
}

.video-dialog__stage {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #000;
}

.video-dialog video {
  width: 100%;
  max-height: calc(100dvh - 132px);
  background: #000;
}

.primary-link:active,
.media-trigger:active,
.product-play:active,
.video-dialog__close:active {
  transform: scale(0.97);
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .primary-link:hover {
    background: #2c2c2c;
  }

  .hero__visual:hover img,
  .work-card__media:hover img {
    transform: scale(1.035);
    filter: saturate(1) contrast(1.04);
  }

  .hero__visual:hover .round-play,
  .work-card__media:hover .mini-play {
    background: var(--coral-light);
    transform: scale(1.07);
  }

  .product-play:hover {
    background: var(--coral-light);
  }

  .product-demo:hover .product-demo__device {
    transform: translateY(-4px);
  }

  .product-demo__device {
    transition: transform 200ms var(--ease-out);
  }

  .product-demo:hover .round-play--small {
    transform: translate(-50%, -50%) scale(1.06);
  }

  .video-dialog__close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(78px, 10vw, 110px);
  }

  .hero__role {
    font-size: clamp(34px, 4.6vw, 48px);
  }

  .section-head {
    grid-template-columns: 80px 1fr;
  }

  .section-head > p {
    grid-column: 2;
  }

  .product-case {
    grid-template-columns: 1fr 0.76fr;
  }

  .account-card {
    grid-template-rows: 500px auto;
  }

  .account-card__visual--company figure:first-child,
  .account-card__visual--company figure:nth-child(2) {
    height: 520px;
  }
}

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

  .nav {
    min-height: 64px;
  }

  .brand span,
  .nav__links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 64px 74px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero h1 {
    margin-block: 16px 24px;
    font-size: clamp(76px, 24vw, 118px);
  }

  .hero__role {
    font-size: clamp(38px, 11vw, 54px);
  }

  .hero__summary {
    max-width: 44ch;
    margin-top: 22px;
    font-size: 13px;
  }

  .primary-link {
    margin-top: 27px;
  }

  .hero__visual {
    height: 112vw;
    min-height: 460px;
    max-height: 640px;
  }

  .hero__side {
    display: none;
  }

  .work-section,
  .product-section,
  .operation-section {
    padding-block: 82px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 44px;
  }

  .section-head > p {
    grid-column: auto;
  }

  .section-head h2 {
    font-size: clamp(52px, 18vw, 78px);
  }

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

  .work-card__media {
    aspect-ratio: 16 / 9;
  }

  .work-card__body {
    min-height: auto;
  }

  .product-case {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-case__copy {
    padding: 52px 22px 58px;
  }

  .product-case__copy h3 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .product-flow li {
    min-height: 88px;
  }

  .product-demo {
    min-height: 650px;
  }

  .product-demo__device {
    width: min(270px, 68%);
  }

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

  .account-card:nth-child(2) {
    margin-top: 0;
  }

  .account-card {
    grid-template-rows: 500px auto;
  }

  .account-card__body {
    padding: 30px 22px 35px;
  }

  .metrics div {
    padding-inline: 10px;
  }

  .metrics dd {
    font-size: clamp(21px, 7vw, 30px);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .video-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .video-dialog__head {
    min-height: 62px;
    padding: 10px 12px 10px 16px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 22vw;
  }

  .hero__visual {
    height: 118vw;
    min-height: 430px;
  }

  .hero__visual-caption b {
    font-size: 15px;
  }

  .product-flow span {
    font-size: 10px;
  }

  .product-demo {
    min-height: 590px;
  }

  .account-card {
    grid-template-rows: 460px auto;
  }

  .account-card__visual--company figure:first-child,
  .account-card__visual--company figure:nth-child(2) {
    height: 500px;
  }

  .account-card__visual--ip figure {
    width: 76%;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
