@font-face {
  font-family: "BDO Grotesk";
  src: url("../assets/BDO-Grotesk-Variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ty-paper: #f4f3f0;
  --ty-ink: #0d1110;
  --ty-muted: #697271;
  --ty-line: rgba(13, 17, 16, 0.15);
  --ty-line-light: rgba(255, 255, 255, 0.16);
  --ty-teal: #6d8a89;
  --ty-teal-deep: #375655;
  --ty-pink: #d9a7af;
  --ty-purple: #8d84b6;
  --ty-tan: #aa8d6b;
  --ty-night: #17201f;
  --ty-ease: cubic-bezier(0.19, 1, 0.22, 1);
}

html {
  background: var(--ty-paper);
  scroll-behavior: smooth;
}

body.tangyuan-page {
  color: var(--ty-ink);
  background: var(--ty-paper);
  font-family: "BDO Grotesk", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.tangyuan-page ::selection {
  color: var(--ty-ink);
  background: #c9d7d5;
}

.ty-nav {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 14px 24px;
  color: var(--ty-ink);
  background: rgba(244, 243, 240, 0.84);
  border-bottom: 1px solid rgba(13, 17, 16, 0.08);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.ty-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ty-nav__arrow {
  transition: transform 0.35s var(--ty-ease);
}

.ty-nav__back:hover .ty-nav__arrow {
  transform: translateX(-4px);
}

.ty-nav__brand {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ty-nav__meta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 22px;
  color: var(--ty-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ty-nav__meta a {
  padding: 7px 13px;
  color: var(--ty-ink);
  border: 1px solid var(--ty-line);
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}

.ty-nav__meta a:hover {
  color: #fff;
  background: var(--ty-ink);
}

.ty-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 96px 24px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 46%, rgba(255, 255, 255, 0.94) 0 15%, rgba(255, 255, 255, 0) 54%),
    linear-gradient(120deg, #f1f1ed 0%, #e8ece8 45%, #dfe7e4 100%);
}

.ty-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ty-hero__wash span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.66;
  animation: ty-float 13s ease-in-out infinite alternate;
}

.ty-hero__wash-a {
  top: 8%;
  left: 36%;
  width: 27vw;
  min-width: 260px;
  aspect-ratio: 1;
  background: rgba(210, 220, 217, 0.82);
}

.ty-hero__wash-b {
  right: 3%;
  bottom: 12%;
  width: 23vw;
  min-width: 220px;
  aspect-ratio: 1;
  background: rgba(194, 209, 206, 0.82);
  animation-delay: -4s;
}

.ty-hero__wash-c {
  top: 12%;
  right: 22%;
  width: 12vw;
  min-width: 130px;
  aspect-ratio: 1;
  background: rgba(232, 212, 207, 0.65);
  animation-delay: -7s;
}

@keyframes ty-float {
  to {
    transform: translate3d(3vw, 3vh, 0) scale(1.08);
  }
}

.ty-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  width: min(1440px, 100%);
  margin: auto;
  gap: clamp(20px, 4vw, 80px);
}

.ty-hero__copy {
  max-width: 760px;
  padding-left: clamp(0px, 2vw, 34px);
}

.ty-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(22px, 3.2vh, 38px);
  color: var(--ty-teal-deep);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ty-kicker span {
  color: var(--ty-muted);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.ty-hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.82;
}

.ty-hero__cn {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(100px, 15.5vw, 230px);
  font-weight: 500;
  letter-spacing: -0.12em;
}

.ty-hero__en {
  margin: 14px 0 0 6px;
  color: var(--ty-teal-deep);
  font-size: clamp(26px, 3.7vw, 54px);
  font-weight: 650;
  letter-spacing: 0.18em;
}

.ty-hero__sub {
  margin-top: clamp(24px, 3vh, 34px);
  font-size: clamp(27px, 2.7vw, 39px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.ty-hero__lead {
  max-width: 540px;
  margin-top: 16px;
  color: #394643;
  font-size: 16px;
  line-height: 1.65;
}

.ty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ty-tags span {
  padding: 8px 13px;
  color: #334340;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(13, 17, 16, 0.09);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.ty-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ty-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 44px;
  padding: 0 17px;
  color: var(--ty-ink);
  border: 1px solid var(--ty-line);
  border-radius: 999px;
  font-size: 12px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.ty-link:hover {
  color: #fff;
  background: var(--ty-ink);
  border-color: var(--ty-ink);
}

.ty-link--dark {
  color: #fff;
  background: var(--ty-ink);
  border-color: var(--ty-ink);
}

.ty-link--dark:hover {
  color: var(--ty-ink);
  background: #fff;
}

.ty-link--light {
  color: var(--ty-paper);
  border-color: var(--ty-line-light);
}

.ty-link--light:hover {
  color: var(--ty-ink);
  background: var(--ty-paper);
  border-color: var(--ty-paper);
}

.ty-hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: min(62vh, 620px);
  isolation: isolate;
}

.ty-hero__stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(43vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0, #edf1ee 38%, #d6e0dd 100%);
  box-shadow:
    0 30px 100px rgba(58, 80, 76, 0.13),
    inset -24px -30px 70px rgba(154, 174, 169, 0.18);
}

.ty-cat-button {
  position: relative;
  z-index: 2;
  width: min(31vw, 420px);
  min-width: 260px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 28px 30px rgba(38, 59, 56, 0.19));
  transform-origin: 50% 92%;
  animation: ty-breathe 3.8s ease-in-out infinite;
}

.ty-cat-button img {
  width: 100%;
  pointer-events: none;
}

.ty-cat-button:focus-visible,
.ty-motion-stage__cat:focus-visible,
.ty-action-grid button:focus-visible {
  outline: 2px solid var(--ty-teal-deep);
  outline-offset: 4px;
}

@keyframes ty-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1.012);
  }
}

.ty-speech {
  position: absolute;
  z-index: 3;
  top: 19%;
  left: 58%;
  padding: 12px 18px;
  color: #263330;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 10px 30px rgba(45, 63, 60, 0.11);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s var(--ty-ease), opacity 0.25s;
}

.ty-speech.is-pop {
  animation: ty-pop 0.45s var(--ty-ease);
}

@keyframes ty-pop {
  50% {
    transform: translateY(-6px) scale(1.04);
  }
}

.ty-hint {
  position: absolute;
  z-index: 3;
  bottom: 5%;
  left: 50%;
  padding: 7px 12px;
  color: var(--ty-muted);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.ty-hero__orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(58, 82, 78, 0.16);
  border-radius: 50%;
}

.ty-hero__orbit--one {
  width: min(47vw, 690px);
  aspect-ratio: 1;
}

.ty-hero__orbit--two {
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border-style: dashed;
}

.ty-hero__cross {
  position: absolute;
  color: rgba(38, 59, 56, 0.34);
  font-size: 18px;
  font-weight: 300;
}

.ty-hero__cross--one {
  top: 13%;
  right: 4%;
}

.ty-hero__cross--two {
  bottom: 15%;
  left: 6%;
}

.ty-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1440px, 100%);
  margin: clamp(20px, 3vh, 36px) auto 0;
  padding: clamp(16px, 2.1vh, 22px) clamp(0px, 2vw, 34px) 0;
  border-top: 1px solid rgba(13, 17, 16, 0.18);
}

.ty-metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ty-metrics strong {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 450;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.ty-metrics span {
  color: var(--ty-muted);
  font-size: 11px;
}

.ty-hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: min(1440px, 100%);
  margin: 14px auto 0;
  padding: 0 clamp(0px, 2vw, 34px);
  color: var(--ty-muted);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.ty-hero__foot a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ty-ink);
}

.ty-hero__foot a span {
  animation: ty-bob 1.8s ease-in-out infinite;
}

@keyframes ty-bob {
  50% {
    transform: translateY(4px);
  }
}

.ty-section {
  padding: 120px 24px;
  background: var(--ty-paper);
  scroll-margin-top: 66px;
}

.ty-section__meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  max-width: 1392px;
  margin: 0 auto;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--ty-line);
  color: var(--ty-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ty-section__meta span:nth-child(2) {
  justify-self: center;
  color: var(--ty-ink);
}

.ty-section__meta span:last-child {
  justify-self: end;
}

.ty-section__meta--light {
  color: rgba(244, 243, 240, 0.5);
  border-bottom-color: var(--ty-line-light);
}

.ty-section__meta--light span:nth-child(2) {
  color: var(--ty-paper);
}

.ty-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 30px 60px;
  max-width: 1392px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 122px) 0 clamp(44px, 6vw, 88px);
}

.ty-eyebrow {
  grid-column: 1 / -1;
  color: var(--ty-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ty-section__head h2,
.ty-interaction__copy h2,
.ty-delivery__head h2 {
  font-size: clamp(46px, 6vw, 94px);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.06em;
}

.ty-section__note {
  max-width: 410px;
  justify-self: end;
  padding-bottom: 8px;
  color: var(--ty-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ty-section__head--light h2 {
  color: var(--ty-paper);
}

.ty-section__head--light .ty-eyebrow,
.ty-section__head--light .ty-section__note {
  color: rgba(244, 243, 240, 0.5);
}

.ty-character__body {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(300px, 0.64fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 60px);
  max-width: 1392px;
  margin: 0 auto;
}

.ty-character__reference {
  display: flex;
  flex-direction: column;
  align-self: start;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(40, 55, 52, 0.07);
}

.ty-character__reference img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
}

.ty-character__reference figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 5px 3px;
  color: var(--ty-muted);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.ty-character__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 44px);
  background: #fff;
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(40, 55, 52, 0.07);
}

.ty-feature-list {
  display: flex;
  flex-direction: column;
}

.ty-feature-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 23px 0;
  border-bottom: 1px solid var(--ty-line);
}

.ty-feature-list article:first-child {
  padding-top: 0;
}

.ty-feature-list article:last-child {
  border-bottom: 0;
}

.ty-feature-list article > span {
  padding-top: 3px;
  color: var(--ty-pink);
  font-size: 10px;
}

.ty-feature-list h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.ty-feature-list p {
  margin-top: 6px;
  color: var(--ty-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.ty-palette {
  padding-top: 22px;
  border-top: 1px solid var(--ty-line);
}

.ty-palette__label {
  color: var(--ty-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ty-palette__swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.ty-palette__swatches > span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ty-palette__swatches i {
  display: block;
  aspect-ratio: 1;
  background: var(--swatch);
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 4px;
}

.ty-palette__swatches small {
  color: var(--ty-muted);
  font-size: 9.5px;
}

.ty-motion {
  color: var(--ty-paper);
  background: #141b1a;
}

.ty-motion-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  max-width: 1392px;
  margin: 0 auto;
  border: 1px solid var(--ty-line-light);
  border-radius: 14px;
  overflow: hidden;
}

.ty-motion-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 660px;
  padding: 48px 30px 150px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.96) 0 14%, rgba(237, 242, 239, 0.9) 43%, rgba(211, 222, 219, 0.55) 68%, rgba(20, 27, 26, 0) 69%),
    #18201f;
}

.ty-motion-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #fff, #edf1ee 55%, #d1dedb 100%);
  transform: translate(-50%, -54%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.ty-motion-stage__grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle, #000 0 55%, transparent 78%);
}

.ty-motion-stage__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 61%;
  aspect-ratio: 1;
  border: 1px dashed rgba(46, 71, 68, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -54%);
  animation: ty-spin 30s linear infinite;
}

@keyframes ty-spin {
  to {
    transform: translate(-50%, -54%) rotate(360deg);
  }
}

.ty-motion-stage__cat {
  position: relative;
  z-index: 2;
  width: min(44%, 310px);
  min-width: 200px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 22px 24px rgba(42, 63, 59, 0.22));
}

.ty-motion-stage__cat img {
  width: 100%;
}

.ty-motion-bubble {
  position: absolute;
  z-index: 4;
  top: 18%;
  left: 57%;
  padding: 10px 15px;
  color: #273431;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 15px 15px 15px 4px;
  box-shadow: 0 10px 26px rgba(31, 46, 43, 0.13);
  font-size: 13px;
  font-weight: 600;
}

.ty-motion-bubble.is-pop {
  animation: ty-pop 0.45s var(--ty-ease);
}

.ty-motion-hint {
  position: absolute;
  z-index: 3;
  bottom: 128px;
  color: rgba(36, 53, 50, 0.55);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.ty-motion-readout {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 18px;
  color: var(--ty-ink);
  background: rgba(250, 250, 248, 0.94);
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.ty-motion-readout > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.ty-motion-readout__index {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.ty-motion-readout__slash {
  color: var(--ty-muted);
  font-size: 10px;
}

.ty-motion-readout__name {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ty-motion-readout__name strong {
  font-size: 17px;
  font-weight: 650;
}

.ty-motion-readout__name span {
  color: var(--ty-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.ty-motion-readout__spec {
  display: flex;
  gap: 7px;
}

.ty-motion-readout__spec span {
  padding: 4px 8px;
  color: #3f4b49;
  background: #ecf1ef;
  border-radius: 999px;
  font-size: 9.5px;
  white-space: nowrap;
}

.ty-motion-readout__spec span:last-child {
  color: #fff;
  background: var(--ty-teal-deep);
}

.ty-motion-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 42px);
  background: #101615;
}

.ty-motion-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ty-line-light);
}

.ty-motion-panel__head p {
  color: rgba(244, 243, 240, 0.46);
  font-size: 11px;
}

.ty-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 20px;
  background: var(--ty-line-light);
  border: 1px solid var(--ty-line-light);
}

.ty-action-grid button {
  display: grid;
  grid-template-columns: 23px 1fr;
  grid-template-rows: auto auto;
  align-items: baseline;
  gap: 2px 8px;
  padding: 13px 12px;
  text-align: left;
  color: rgba(244, 243, 240, 0.72);
  border: 0;
  background: #101615;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.ty-action-grid button > span {
  grid-row: 1 / 3;
  color: rgba(244, 243, 240, 0.27);
  font-size: 9px;
}

.ty-action-grid button b {
  font-size: 13px;
  font-weight: 500;
}

.ty-action-grid button small {
  color: rgba(244, 243, 240, 0.33);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ty-action-grid button:hover {
  color: var(--ty-paper);
  background: #1a2422;
}

.ty-action-grid button.is-active {
  color: #17201f;
  background: #dce7e4;
}

.ty-action-grid button.is-active > span,
.ty-action-grid button.is-active small {
  color: rgba(23, 32, 31, 0.5);
}

.ty-overview {
  max-width: 1392px;
  margin: 26px auto 0;
  padding: 10px;
  background: #eef1ef;
  border-radius: 10px;
}

.ty-overview img {
  width: 100%;
  border-radius: 6px;
}

.ty-overview figcaption {
  padding: 12px 6px 2px;
  color: #596461;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.ty-interaction__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 6vw, 100px);
  max-width: 1392px;
  margin: 0 auto;
  padding-top: clamp(60px, 8vw, 116px);
}

.ty-interaction__copy .ty-eyebrow {
  margin-bottom: 22px;
}

.ty-interaction__copy > p:not(.ty-eyebrow) {
  max-width: 480px;
  margin-top: 30px;
  color: var(--ty-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ty-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.ty-inputs span {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--ty-line);
  border-radius: 999px;
  font-size: 10.5px;
}

.ty-state-machine {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(40, 55, 52, 0.07);
}

.ty-state-machine__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--ty-line);
}

.ty-state-machine__head span {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ty-state-machine__head small {
  color: var(--ty-muted);
  font-size: 9px;
}

.ty-state-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.ty-state-row:first-of-type {
  margin-top: 10px;
}

.ty-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid var(--ty-line);
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
}

.ty-state small {
  color: var(--ty-muted);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.ty-state.is-main {
  background: #f2f4f1;
}

.ty-state.is-auto {
  color: #6b573f;
  background: #fbf4e9;
  border-color: #e8d5b8;
}

.ty-state.is-move {
  color: #3b5e72;
  background: #edf5f8;
  border-color: #c6dce6;
}

.ty-state.is-pink {
  color: #7c4c53;
  background: #fbeeef;
  border-color: #e7c9cd;
}

.ty-state.is-purple {
  color: #5e5688;
  background: #f1eff8;
  border-color: #d6d0e7;
}

.ty-state.is-sleep {
  color: #4c6461;
  background: #eaf0ee;
  border-color: #cad8d4;
}

.ty-state-arrow {
  color: var(--ty-muted);
  font-size: 9px;
}

.ty-state-machine__ghost {
  position: absolute;
  right: -8px;
  bottom: -25px;
  color: rgba(13, 17, 16, 0.035);
  font-size: clamp(80px, 9vw, 132px);
  font-weight: 700;
  letter-spacing: -0.07em;
}

.ty-build__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 54px);
  max-width: 1392px;
  margin: 0 auto;
}

.ty-desktop {
  padding: 12px;
  color: rgba(244, 243, 240, 0.66);
  background: #18201f;
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(28, 43, 40, 0.14);
}

.ty-desktop__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 5px 13px;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.ty-desktop__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #89a09c;
}

.ty-desktop__screen {
  overflow: hidden;
  border-radius: 7px;
  background: #dfe9e6;
}

.ty-desktop__screen img {
  width: 100%;
}

.ty-desktop figcaption {
  padding: 12px 5px 2px;
  font-size: 9px;
}

.ty-build__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ty-build__features {
  padding: 8px 26px;
  background: #fff;
  border: 1px solid rgba(13, 17, 16, 0.08);
  border-radius: 12px;
}

.ty-build__features article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ty-line);
}

.ty-build__features article:last-child {
  border-bottom: 0;
}

.ty-build__features article > span {
  padding-top: 3px;
  color: var(--ty-teal);
  font-size: 9px;
}

.ty-build__features h3 {
  font-size: 16px;
  font-weight: 650;
}

.ty-build__features p {
  margin-top: 4px;
  color: var(--ty-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.ty-code {
  padding: 22px;
  color: #d8e3e0;
  background: #17201f;
  border-radius: 10px;
}

.ty-code > span {
  color: #839692;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ty-code pre {
  margin: 16px 0 0;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.8;
}

.ty-build__tech {
  color: var(--ty-muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.ty-delivery {
  color: var(--ty-paper);
  background: #17201f;
}

.ty-delivery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1392px;
  margin: 0 auto;
  padding: clamp(66px, 8vw, 120px) 0 clamp(40px, 5vw, 66px);
}

.ty-delivery__head .ty-eyebrow {
  margin-bottom: 22px;
  color: rgba(244, 243, 240, 0.46);
}

.ty-delivery__head h2 {
  color: var(--ty-paper);
}

.ty-deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1392px;
  margin: 0 auto;
  background: var(--ty-line-light);
  border: 1px solid var(--ty-line-light);
}

.ty-deliverables article {
  min-height: 190px;
  padding: 26px;
  background: #17201f;
}

.ty-deliverables strong {
  display: block;
  color: #dbe7e4;
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.055em;
}

.ty-deliverables h3 {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 550;
}

.ty-deliverables p {
  margin-top: 7px;
  color: rgba(244, 243, 240, 0.44);
  font-size: 11px;
  line-height: 1.5;
}

.ty-delivery__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 50px;
  max-width: 1392px;
  margin: 0 auto;
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--ty-line-light);
}

.ty-delivery blockquote {
  padding: clamp(24px, 3vw, 38px);
  background: #202a28;
  border-radius: 10px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.45;
}

.ty-delivery cite {
  display: block;
  margin-top: 22px;
  color: rgba(244, 243, 240, 0.4);
  font-family: "BDO Grotesk", "PingFang SC", sans-serif;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.ty-delivery__role .ty-eyebrow {
  color: rgba(244, 243, 240, 0.4);
}

.ty-delivery__role p:not(.ty-eyebrow) {
  margin-top: 11px;
  color: rgba(244, 243, 240, 0.7);
  font-size: 12px;
  line-height: 1.6;
}

.ty-end {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1392px;
  margin: 0 auto;
  padding-top: 34px;
}

.ty-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  color: #6a7572;
  background: #f0efeb;
  border-top: 1px solid rgba(13, 17, 16, 0.08);
  font-size: 9px;
  letter-spacing: 0.08em;
}

@media (max-width: 1100px) {
  .ty-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  }

  .ty-hero__stage {
    min-height: 500px;
  }

  .ty-cat-button {
    width: min(34vw, 360px);
  }

  .ty-motion-lab {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.68fr);
  }

  .ty-motion-stage {
    min-height: 590px;
  }

  .ty-action-grid {
    grid-template-columns: 1fr;
  }

  .ty-character__body,
  .ty-build__layout {
    grid-template-columns: 1fr;
  }

  .ty-character__right {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
  }

  .ty-palette {
    border-top: 0;
    padding-top: 0;
  }

  .ty-build__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ty-build__tech {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .ty-nav {
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }

  .ty-nav__brand {
    display: none;
  }

  .ty-nav__meta {
    gap: 0;
  }

  .ty-nav__meta > span {
    display: none;
  }

  .ty-nav__meta a {
    padding: 6px 10px;
    font-size: 10px;
  }

  .ty-hero {
    padding: 92px 16px 20px;
  }

  .ty-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ty-hero__copy {
    padding-left: 0;
  }

  .ty-kicker {
    gap: 10px;
    margin-bottom: 30px;
    font-size: 9px;
  }

  .ty-kicker span {
    display: none;
  }

  .ty-hero__cn {
    font-size: clamp(100px, 34vw, 150px);
  }

  .ty-hero__en {
    margin-top: 10px;
    font-size: 27px;
  }

  .ty-hero__sub {
    margin-top: 25px;
    font-size: 26px;
  }

  .ty-hero__lead {
    font-size: 14px;
  }

  .ty-hero__stage {
    min-height: 400px;
    margin-top: 10px;
  }

  .ty-hero__stage::before {
    width: 82vw;
  }

  .ty-hero__orbit--one {
    width: 88vw;
  }

  .ty-hero__orbit--two {
    width: 68vw;
  }

  .ty-cat-button {
    width: 58vw;
    min-width: 220px;
  }

  .ty-speech {
    top: 17%;
    left: 62%;
    padding: 9px 13px;
    font-size: 12px;
  }

  .ty-hint {
    bottom: 1%;
  }

  .ty-metrics {
    margin-top: 18px;
    padding-top: 17px;
  }

  .ty-metrics strong {
    font-size: 34px;
  }

  .ty-metrics span {
    font-size: 8px;
  }

  .ty-hero__foot {
    display: none;
  }

  .ty-section {
    padding: 78px 16px;
  }

  .ty-section__meta {
    grid-template-columns: auto 1fr;
    gap: 14px;
    font-size: 8.5px;
  }

  .ty-section__meta span:nth-child(2) {
    justify-self: start;
  }

  .ty-section__meta span:last-child {
    display: none;
  }

  .ty-section__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 48px 0 36px;
  }

  .ty-section__head h2,
  .ty-interaction__copy h2,
  .ty-delivery__head h2 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.05em;
  }

  .ty-section__note {
    justify-self: auto;
    font-size: 13px;
  }

  .ty-character__right {
    display: flex;
    padding: 24px 20px;
  }

  .ty-palette {
    padding-top: 20px;
    border-top: 1px solid var(--ty-line);
  }

  .ty-character__reference figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .ty-motion-lab {
    grid-template-columns: 1fr;
  }

  .ty-motion-stage {
    min-height: 500px;
    padding: 40px 16px 145px;
  }

  .ty-motion-stage::before {
    width: 78%;
  }

  .ty-motion-stage__ring {
    width: 84%;
  }

  .ty-motion-stage__cat {
    width: 45%;
  }

  .ty-motion-bubble {
    top: 17%;
    left: 58%;
    font-size: 11px;
  }

  .ty-motion-hint {
    bottom: 124px;
  }

  .ty-motion-readout {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    padding: 13px;
  }

  .ty-motion-readout__spec {
    grid-column: 1 / -1;
  }

  .ty-motion-panel {
    padding: 20px 16px 24px;
  }

  .ty-motion-panel__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ty-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ty-action-grid button {
    padding: 11px 10px;
  }

  .ty-overview {
    margin-top: 18px;
    padding: 6px;
  }

  .ty-interaction__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 50px;
  }

  .ty-state-machine {
    padding: 20px 16px;
  }

  .ty-state-row {
    gap: 6px;
  }

  .ty-state {
    padding: 8px 9px;
    font-size: 10px;
  }

  .ty-state-arrow {
    font-size: 8px;
  }

  .ty-build__side {
    display: flex;
  }

  .ty-build__features {
    padding: 8px 20px;
  }

  .ty-delivery__head {
    align-items: flex-start;
    flex-direction: column;
    padding: 54px 0 30px;
  }

  .ty-deliverables {
    grid-template-columns: 1fr 1fr;
  }

  .ty-deliverables article {
    min-height: 160px;
    padding: 20px;
  }

  .ty-deliverables h3 {
    margin-top: 16px;
  }

  .ty-delivery__foot {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px 0 38px;
  }

  .ty-delivery blockquote {
    padding: 22px;
    font-size: 21px;
  }

  .ty-end {
    flex-direction: column;
  }

  .ty-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

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

  .ty-hero__wash span,
  .ty-cat-button,
  .ty-motion-stage__ring,
  .ty-hero__foot a span {
    animation: none;
  }
}
