:root {
  --paper: #f5f4ef;
  --paper-bright: #fbfaf6;
  --ink: #171716;
  --ink-soft: #55544f;
  --muted: #85827a;
  --line: #dcd9d0;
  --red: #dd3f2d;
  --red-dark: #ad2e20;
  --red-soft: #f5ded8;
  --sage: #d9e2da;
  --sage-ink: #4a6d5d;
  --blue: #dce4eb;
  --blue-ink: #47617e;
  --gold: #eddbbc;
  --gold-ink: #74521f;
  --violet: #e5dce5;
  --violet-ink: #6e5a72;
  --page: min(1240px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: white;
  background: var(--red);
}

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

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

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

.site-header {
  position: relative;
  z-index: 20;
  width: var(--page);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.xlaris-global-header {
  height: 84px;
  border-color: #dedede;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.xlaris-nav-logo {
  width: 39px;
  height: 39px;
  display: block;
  border-radius: 11px;
  object-fit: cover;
}

.xlaris-mark-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0b0b0b;
  font-size: 1.22rem;
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: 1;
}

.xlaris-nav-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.wordmark-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px var(--red-soft);
}

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(23, 23, 22, 0.06);
}

.nav-cta {
  margin-left: 8px;
  color: white !important;
  background: var(--ink) !important;
}

.nav-cta:hover {
  background: var(--red) !important;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(23, 23, 22, 0.06);
  font: inherit;
  cursor: pointer;
}

.hero {
  width: var(--page);
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 8vw;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.display {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 10vw, 9.4rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.display em {
  color: var(--red);
  font-weight: 400;
}

.hero-copy {
  max-width: 600px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--dark {
  color: white;
  background: var(--ink);
}

.button--dark:hover {
  border-color: var(--red);
  background: var(--red);
}

.button--light:hover {
  color: white;
  background: var(--ink);
}

.button svg {
  width: 17px;
  height: 17px;
}

.hero-orbit {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  width: min(38vw, 470px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-ring::after {
  inset: 32%;
  background: var(--red-soft);
  border-color: transparent;
}

.app-tile {
  position: relative;
  z-index: 2;
  width: 150px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 34px;
  background: white;
  box-shadow: 0 28px 80px rgba(46, 37, 30, 0.14), 0 8px 24px rgba(46, 37, 30, 0.1);
  transform: rotate(-6deg);
  transition: transform 400ms cubic-bezier(.2,.8,.2,1);
}

.hero-orbit:hover .app-tile {
  transform: rotate(0) scale(1.04);
}

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

.orbit-note {
  position: absolute;
  z-index: 3;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(10px);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.orbit-note--one { top: 18%; right: -2%; }
.orbit-note--two { bottom: 17%; left: -5%; }

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 160px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.5vw, 6.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
}

.section-copy {
  max-width: 550px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.featured-app {
  margin-top: 70px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 630px;
  border-radius: 30px;
  color: #f6f4ef;
  background: var(--ink);
}

.featured-copy {
  padding: clamp(40px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-icon {
  width: 76px;
  border-radius: 18px;
  margin-bottom: auto;
}

.featured-label {
  margin: 50px 0 12px;
  color: #b5b2a9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.featured-description {
  max-width: 420px;
  margin: 28px 0 32px;
  color: #c9c6bd;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 700;
}

.featured-visual {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: var(--red);
}

.han-character {
  position: absolute;
  top: -0.2em;
  right: -0.1em;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--serif);
  font-size: clamp(20rem, 40vw, 40rem);
  line-height: 1;
}

.mini-phone {
  position: absolute;
  left: 50%;
  bottom: -110px;
  width: min(330px, 72%);
  min-height: 590px;
  padding: 12px;
  border-radius: 54px;
  background: #0e0e0e;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%) rotate(5deg);
}

.mini-phone__screen {
  min-height: 566px;
  padding: 55px 24px 28px;
  overflow: hidden;
  border-radius: 43px;
  color: var(--ink);
  background: #f7f7f5;
}

.phone-kicker {
  color: var(--red-dark);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-title {
  margin: 10px 0 26px;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}

.review-card {
  padding: 23px;
  border-radius: 20px;
  color: white;
  background: var(--ink);
}

.review-card small {
  color: #aaa8a2;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.word-list-label {
  margin: 28px 0 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.word-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.word-row__hanzi {
  font-family: var(--serif);
  font-size: 1.8rem;
}

.word-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.word-row span {
  color: var(--red-dark);
  font-size: .69rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 270px;
  padding: 34px 38px 34px 0;
  border-right: 1px solid var(--line);
}

.principle + .principle {
  padding-left: 38px;
}

.principle:last-child {
  border-right: 0;
}

.principle-number {
  color: var(--red);
  font-family: var(--serif);
  font-size: 1rem;
}

.principle h3 {
  margin: 70px 0 14px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.contact-band {
  color: white;
  background: var(--red);
}

.contact-band__inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact-band h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.065em;
}

.contact-link {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-link:hover {
  color: var(--red);
  background: white;
  transform: rotate(-8deg);
}

.site-footer {
  color: #d2cfc7;
  background: var(--ink);
}

.site-footer__inner {
  width: var(--page);
  min-height: 270px;
  margin: 0 auto;
  padding: 54px 0 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-content: space-between;
}

.footer-wordmark {
  color: white;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -.06em;
}

.footer-brand-link {
  width: fit-content;
  display: block;
}

.footer-brand-logo {
  width: 96px;
  height: 96px;
  display: block;
  border: 1px solid #343431;
  border-radius: 22px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: start;
  font-size: .8rem;
}

.footer-links a:hover { color: white; }

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #343431;
  color: #85837d;
  font-size: .72rem;
}

/* Apps index */
.page-hero {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 180px) 0 80px;
}

.page-hero .display {
  max-width: 1100px;
}

.page-hero__meta {
  margin-top: 62px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.page-hero__meta p {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.app-grid {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 150px;
}

.app-card {
  position: relative;
  min-height: 660px;
  padding: clamp(40px, 6vw, 74px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 34px;
  color: white;
  background: var(--red);
}

.app-card::before {
  content: "汉";
  position: absolute;
  right: -0.05em;
  bottom: -0.32em;
  color: rgba(255,255,255,.12);
  font-family: var(--serif);
  font-size: min(64vw, 760px);
  line-height: 1;
}

.app-card__top,
.app-card__bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.app-card__bottom {
  margin-top: auto;
  align-items: end;
}

.app-card__icon {
  width: 100px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(75,18,12,.18);
}

.app-card__status {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.app-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.07em;
}

.app-card__details {
  max-width: 380px;
  margin-left: 40px;
}

.app-card__details p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

.coming-row {
  padding: 78px 0 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.coming-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.coming-row p {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* App identity inside product content */
.product-signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.product-signature img {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  object-fit: cover;
  font-size: 1.2rem;
}

.product-signature strong,
.product-signature small { display: block; }

.product-signature strong {
  font-size: 1rem;
  letter-spacing: -.03em;
}

.product-signature small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .63rem;
  font-weight: 650;
  letter-spacing: .04em;
}

.product-visual-signature {
  position: absolute;
  z-index: 6;
  top: 28px;
  left: 28px;
  margin: 0;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 17px;
  color: #111;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(20,20,20,.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.product-signature--vive.product-visual-signature {
  border-color: rgba(255,255,255,.24);
  background: rgba(8,35,116,.32);
  box-shadow: 0 16px 40px rgba(8,28,105,.24);
}

.product-inline-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 650;
}

.product-inline-links a { border-bottom: 1px solid currentColor; }
.product-inline-links a:hover { color: var(--ink); }

/* Hansa */
.hansa-page {
  --paper: #f7f7f5;
  --line: #e2e2de;
}

.product-signature--hansa strong {
  font-family: var(--serif);
}

.hansa-hero {
  width: var(--page);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: 75px 0 0;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 7vw;
  align-items: center;
}

.hansa-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 8vw, 8.2rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.065em;
}

.hansa-hero h1 span { color: var(--red); }

.hansa-hero__copy > p {
  max-width: 510px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.store-note {
  margin-top: 15px !important;
  color: var(--muted) !important;
  font-size: .72rem !important;
}

.hansa-stage {
  position: relative;
  align-self: stretch;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  place-items: end center;
  border-radius: 36px 36px 0 0;
  background: var(--red);
}

.hansa-stage::before {
  content: "词";
  position: absolute;
  top: -.12em;
  left: -.12em;
  color: rgba(255,255,255,.12);
  font-family: var(--serif);
  font-size: 35rem;
  line-height: 1;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(370px, 72%);
  margin-bottom: -150px;
  padding: 12px;
  border-radius: 58px;
  background: #0d0d0e;
  box-shadow: 0 50px 90px rgba(75, 18, 12, .4);
  transform: rotate(2deg);
}

.phone__screen {
  min-height: 720px;
  padding: 68px 26px 28px;
  overflow: hidden;
  border-radius: 47px;
  background: #f7f7f5;
}

.phone__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.phone__date {
  color: var(--red-dark);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.phone__hello {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: .98;
}

.streak {
  width: 64px;
  padding: 12px 8px;
  border-radius: 16px;
  text-align: center;
  color: white;
  background: var(--ink);
}

.streak strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.streak span {
  color: #aaa8a2;
  font-size: .53rem;
  text-transform: uppercase;
}

.phone .review-card { margin-top: 34px; }

.hansa-statement {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(110px, 15vw, 190px) 0;
  text-align: center;
}

.hansa-statement p {
  max-width: 1020px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.7vw, 6.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hansa-statement em {
  color: var(--red);
  font-style: normal;
}

.feature-section {
  padding: clamp(90px, 12vw, 150px) 0;
  color: white;
  background: var(--ink);
}

.feature-section__inner {
  width: var(--page);
  margin: 0 auto;
}

.feature-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.feature-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}

.feature-header p {
  max-width: 480px;
  margin: 0;
  color: #aaa8a2;
  line-height: 1.7;
}

.feature-grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #232322;
}

.feature-card--accent {
  color: var(--ink);
  background: var(--red-soft);
}

.feature-card__number {
  color: var(--red);
  font-family: var(--serif);
}

.feature-card h3 {
  margin: auto 0 14px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.feature-card p {
  margin: 0;
  color: #aaa8a2;
  font-size: .87rem;
  line-height: 1.65;
}

.feature-card--accent p { color: #5f504b; }

.topics {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 170px) 0;
}

.topics h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}

.topic-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.topic-card {
  min-height: 290px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
}

.topic-card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.topic-card strong {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.topic-card span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: .76rem;
}

.topic-card--blue { background: var(--blue); }
.topic-card--gold { background: var(--gold); }
.topic-card--sage { background: var(--sage); }
.topic-card--violet { background: var(--violet); }

.hansa-cta {
  width: var(--page);
  margin: 0 auto 70px;
  padding: clamp(60px, 9vw, 110px);
  overflow: hidden;
  position: relative;
  border-radius: 32px;
  color: white;
  background: var(--red);
}

.hansa-cta::after {
  content: "汉";
  position: absolute;
  right: -.1em;
  top: -.32em;
  color: rgba(255,255,255,.11);
  font-family: var(--serif);
  font-size: 30rem;
}

.hansa-cta h2 {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.06em;
}

.hansa-cta .button-row { position: relative; z-index: 2; }
.hansa-cta .button { border-color: white; }

/* Hansa contact */
.hansa-contact {
  width: var(--page);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) 0 clamp(90px, 11vw, 150px);
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(440px, 1.18fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: start;
}

.hansa-contact__intro .product-signature {
  margin-bottom: clamp(70px, 9vw, 120px);
}

.hansa-contact__intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 8vw, 8rem);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.07em;
}

.hansa-contact__lede {
  max-width: 490px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-routes {
  border-top: 1px solid var(--ink);
}

.contact-route {
  min-height: 170px;
  padding: 32px 4px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 46px;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding 180ms ease;
}

.contact-route:hover {
  padding-left: 12px;
  color: var(--red-dark);
}

.contact-route__label {
  padding-top: 5px;
  color: var(--red-dark);
  font-size: .7rem;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact-route__copy {
  display: grid;
  gap: 12px;
}

.contact-route__copy strong {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -.035em;
}

.contact-route__copy small {
  max-width: 480px;
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.65;
}

.contact-route__arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: color 180ms ease, background 180ms ease;
}

.contact-route:hover .contact-route__arrow {
  color: white;
  background: var(--red);
}

.contact-direct {
  margin-top: 42px;
  padding: 27px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 18px;
  background: var(--red-soft);
}

.contact-direct span {
  color: var(--ink-soft);
  font-size: .78rem;
}

.contact-direct a {
  color: var(--red-dark);
  font-size: .92rem;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Legal */
.legal-shell {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 90px 0 130px;
  display: grid;
  grid-template-columns: 250px minmax(0, 700px);
  gap: 90px;
  justify-content: center;
}

.legal-aside {
  position: sticky;
  top: 40px;
  align-self: start;
}

.legal-aside .product-signature { margin-bottom: 30px; }

.legal-page-links {
  padding: 18px 0;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-page-links a {
  padding: 8px 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 650;
}

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

.legal-aside p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
}

.legal-document h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.06em;
}

.legal-updated {
  margin: 0 0 68px;
  color: var(--red-dark);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-document h2 {
  margin: 54px 0 16px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -.025em;
}

.legal-document h3 {
  margin: 28px 0 8px;
  font-size: .94rem;
}

.legal-document p,
.legal-document li {
  color: #42413d;
  font-size: .94rem;
  line-height: 1.78;
}

.legal-document ul {
  padding-left: 21px;
}

.legal-document a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 760px); }
  .site-header { height: 76px; }
  .hero,
  .hansa-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 90px; }
  .hero-orbit { min-height: 440px; }
  .orbit-ring { width: min(78vw, 430px); }
  .section-intro,
  .feature-header { grid-template-columns: 1fr; }
  .featured-app { grid-template-columns: 1fr; }
  .featured-visual { min-height: 560px; }
  .principles,
  .feature-grid { grid-template-columns: 1fr; }
  .principle,
  .principle + .principle { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle h3 { margin-top: 40px; }
  .principle:last-child { border-bottom: 0; }
  .contact-band__inner { align-items: start; flex-direction: column; }
  .app-card__bottom { align-items: start; flex-direction: column; gap: 35px; }
  .app-card__details { margin-left: 0; }
  .coming-row { grid-template-columns: 1fr; gap: 20px; }
  .hansa-hero { padding-top: 80px; }
  .hansa-stage { min-height: 670px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .hansa-contact { grid-template-columns: 1fr; gap: 70px; }
  .hansa-contact__intro .product-signature { margin-bottom: 70px; }
  .legal-shell { grid-template-columns: 1fr; gap: 50px; }
  .legal-aside { position: static; }
  .legal-aside p { margin-top: 20px; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 28px); }
  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    min-width: 190px;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper-bright);
    box-shadow: 0 18px 45px rgba(30,25,20,.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .menu-button { display: block; }
  .product-visual-signature { top: 18px; left: 18px; padding: 8px 12px 8px 8px; }
  .display { font-size: clamp(4rem, 21vw, 6rem); }
  .hero { gap: 20px; }
  .hero-orbit { min-height: 390px; }
  .app-tile { width: 126px; border-radius: 29px; }
  .orbit-note { font-size: .78rem; }
  .orbit-note--one { right: 0; }
  .orbit-note--two { left: 0; }
  .section-intro { gap: 28px; }
  .featured-app { min-height: 0; border-radius: 24px; }
  .featured-copy { min-height: 530px; }
  .featured-visual { min-height: 520px; }
  .contact-link { width: 58px; height: 58px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { flex-direction: column; gap: 8px; }
  .page-hero__meta { align-items: start; flex-direction: column; }
  .app-card { min-height: 620px; padding: 30px; }
  .app-card__icon { width: 76px; border-radius: 18px; }
  .hansa-hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hansa-stage { min-height: 600px; border-radius: 26px 26px 0 0; }
  .phone { width: 83%; }
  .hansa-statement { text-align: left; }
  .feature-card { min-height: 300px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 230px; }
  .hansa-cta { border-radius: 24px; padding: 45px 28px; }
  .hansa-contact { padding-top: 55px; }
  .hansa-contact__intro h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .contact-route {
    min-height: 0;
    padding: 28px 0;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 18px;
  }
  .contact-route:hover { padding-left: 0; }
  .contact-route__label { grid-column: 1 / -1; }
  .contact-direct { align-items: flex-start; flex-direction: column; }
  .legal-shell { width: calc(100% - 32px); padding-top: 60px; }
  .legal-document h1 { font-size: 3.5rem; }
}

/* Clean parent-company homepage. This intentionally avoids the serif-led,
   warm editorial language used by Hansa and lets the Xlaris mark lead. */
.xlaris-home {
  --paper: #fff;
  --paper-bright: #fff;
  --ink: #0b0b0b;
  --ink-soft: #555;
  --muted: #777;
  --line: #dedede;
  background: #fff;
  font-family: var(--sans);
}

.xlaris-home .site-header {
  height: 84px;
  border-color: #dedede;
}

.xlaris-home .xlaris-nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.xlaris-home .site-nav a {
  border-radius: 0;
  background: transparent;
  font-size: .78rem;
  letter-spacing: .01em;
}

.xlaris-home .site-nav a:hover,
.xlaris-home .site-nav a[aria-current="page"] {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.xlaris-home .site-nav .nav-cta {
  min-width: 94px;
  border-radius: 999px;
  text-align: center;
}

.company-hero {
  width: var(--page);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.company-hero__copy {
  max-width: 1080px;
}

.company-kicker {
  margin: 0;
  color: #666;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.company-hero h1 {
  margin: 28px 0 0;
  font-size: clamp(4.5rem, 9vw, 9rem);
  font-weight: 540;
  line-height: .88;
  letter-spacing: -.075em;
}

.company-hero__copy > p:not(.company-kicker) {
  max-width: 540px;
  margin: 36px 0 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.clean-link {
  margin-top: 34px;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid #111;
  font-size: .82rem;
  font-weight: 680;
}

.clean-link span { transition: transform 180ms ease; }
.clean-link:hover span { transform: translate(3px,-3px); }

.company-identity {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.company-identity > img {
  width: min(100%, 320px);
  align-self: flex-end;
  border-radius: 28px;
}

.company-identity__meta {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #111;
  color: #666;
  font-size: .65rem;
  font-weight: 620;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.company-section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 12vw, 160px) 0;
  border-top: 1px solid #111;
}

.company-section__header {
  display: grid;
  grid-template-columns: .45fr 1.2fr .75fr;
  gap: 5vw;
  align-items: start;
}

.company-section__header h2 {
  margin: -8px 0 0;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 520;
  line-height: .96;
  letter-spacing: -.06em;
}

.company-section__header > p:last-child {
  margin: 0;
  color: #666;
  font-size: .9rem;
  line-height: 1.7;
}

.clean-app-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.clean-app-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  background: #f4f4f4;
  transition: color 220ms ease, background 220ms ease;
}

.clean-app-card:hover {
  color: white;
  background: #111;
}

.clean-app-card--hansa {
  color: white;
  background: #d93a2b;
}

.clean-app-card--habisnap {
  color: #111;
  background: #eeede9;
}

.clean-app-card--vive {
  color: white;
  background: #121a36;
}

.clean-app-card--hansa::before {
  content: "汉";
  position: absolute;
  top: -.08em;
  right: -.14em;
  color: rgba(255,255,255,.13);
  font-family: var(--serif);
  font-size: 18rem;
  line-height: 1;
  pointer-events: none;
}

.clean-app-card--habisnap::before {
  content: "";
  position: absolute;
  top: 72px;
  right: -82px;
  width: 245px;
  height: 245px;
  border: 30px solid rgba(17,17,17,.09);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.clean-app-card--habisnap::after {
  content: "";
  position: absolute;
  top: 180px;
  right: 71px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(17,17,17,.12);
  pointer-events: none;
}

.clean-app-card--vive::before {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -24%;
  height: 72%;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(280px) rotateX(58deg);
  transform-origin: bottom;
  pointer-events: none;
}

.clean-app-card--vive::after {
  content: "";
  position: absolute;
  top: 152px;
  right: 32px;
  width: 31px;
  height: 31px;
  border: 8px solid #61d8dd;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  pointer-events: none;
}

.clean-app-card--hansa:hover {
  background: #b92e21;
}

.clean-app-card--habisnap:hover {
  color: #111;
  background: #e4e2dc;
}

.clean-app-card--vive:hover {
  background: #19264d;
}

.clean-app-card--hansa .clean-app-card__top,
.clean-app-card--hansa .clean-app-card__copy p,
.clean-app-card--hansa .clean-app-card__copy > span,
.clean-app-card--vive .clean-app-card__top,
.clean-app-card--vive .clean-app-card__copy p,
.clean-app-card--vive .clean-app-card__copy > span {
  color: rgba(255,255,255,.72);
}

.clean-app-card--habisnap .clean-app-card__top,
.clean-app-card--habisnap .clean-app-card__copy p,
.clean-app-card--habisnap .clean-app-card__copy > span {
  color: rgba(17,17,17,.58);
}

.clean-app-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  color: #777;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.clean-app-card__top img {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  object-fit: cover;
}

.clean-app-card--habisnap .clean-app-card__top img {
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 10px 28px rgba(17,17,17,.08);
}

.clean-app-card--vive .clean-app-card__top img {
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
}

.clean-app-card__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.clean-app-card__copy p {
  margin: 0 0 14px;
  color: #777;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.clean-app-card h3 {
  margin: 0 0 11px;
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  font-weight: 560;
  letter-spacing: -.055em;
}

.clean-app-card__copy > span {
  color: #777;
  font-size: .78rem;
}

.clean-app-card__arrow {
  position: absolute;
  right: 26px;
  bottom: 26px;
  font-size: 1.1rem;
  opacity: 0;
  z-index: 2;
  transform: translate(-5px,5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.clean-app-card:hover .clean-app-card__arrow {
  opacity: 1;
  transform: none;
}

.company-all-apps {
  margin-top: 12px;
  padding: 24px 2px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #111;
  font-size: .8rem;
  font-weight: 650;
}

.company-about { border-top-color: #dedede; }

.company-principles {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid #dedede;
}

.company-principles article {
  min-height: 250px;
  padding: 28px 34px 28px 0;
  border-right: 1px solid #dedede;
}

.company-principles article + article { padding-left: 34px; }
.company-principles article:last-child { border-right: 0; }
.company-principles article > span { color: #888; font-size: .65rem; }

.company-principles h3 {
  margin: 85px 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.03em;
}

.company-principles p {
  max-width: 300px;
  margin: 0;
  color: #777;
  font-size: .78rem;
  line-height: 1.65;
}

.company-contact {
  color: white;
  background: #0b0b0b;
}

.company-contact__inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 0;
}

.company-contact .company-kicker { color: #888; }

.company-contact h2 {
  margin: 30px 0 70px;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 520;
  line-height: .88;
  letter-spacing: -.075em;
}

.company-contact a {
  padding-bottom: 9px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #555;
  color: #ccc;
  font-size: .84rem;
}

.xlaris-home .company-footer {
  color: #555;
  background: #fff;
  border-top: 1px solid #dedede;
}

.xlaris-home .company-footer .footer-links a:hover { color: #111; }
.xlaris-home .company-footer .footer-links { grid-column: 1 / -1; justify-self: end; }
.xlaris-home .company-footer .copyright { color: #777; border-top-color: #dedede; }

/* Apps directory: the same restrained system as the Xlaris homepage, with
   product colour reserved for the products themselves. */
.apps-directory-hero {
  width: var(--page);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}

.apps-directory-hero__copy {
  max-width: 980px;
}

.apps-directory-hero h1 {
  margin: 28px 0 0;
  font-size: clamp(4.5rem, 9vw, 9rem);
  font-weight: 540;
  line-height: .88;
  letter-spacing: -.075em;
}

.apps-directory-hero__copy > p:last-child {
  max-width: 590px;
  margin: 36px 0 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.apps-directory-hero__count {
  min-width: 165px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #111;
}

.apps-directory-hero__count strong {
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  font-weight: 520;
  line-height: .9;
  letter-spacing: -.065em;
}

.apps-directory-hero__count span {
  color: #777;
  font-size: .65rem;
  font-weight: 680;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.apps-directory-section {
  padding-bottom: clamp(100px, 12vw, 160px);
}

.apps-directory-note {
  margin-top: clamp(90px, 11vw, 140px);
  padding-top: 28px;
  display: grid;
  grid-template-columns: .45fr 1.2fr .75fr;
  gap: 5vw;
  align-items: start;
  border-top: 1px solid #dedede;
}

.apps-directory-note h2 {
  margin: -8px 0 0;
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  font-weight: 520;
  line-height: .96;
  letter-spacing: -.06em;
}

.apps-directory-note > p:last-child {
  margin: 0;
  color: #666;
  font-size: .9rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .company-section__header { grid-template-columns: 1fr; gap: 28px; }
  .apps-directory-hero { grid-template-columns: 1fr; align-items: center; }
  .apps-directory-hero__count { width: 165px; }
  .apps-directory-note { grid-template-columns: 1fr; gap: 28px; }
  .clean-app-grid { grid-template-columns: 1fr; }
  .clean-app-card { min-height: 330px; }
}

@media (max-width: 620px) {
  .xlaris-home .site-header { height: 74px; }
  .xlaris-home .site-nav { border-radius: 12px; }
  .company-hero { min-height: auto; padding: 80px 0 90px; }
  .company-hero h1 { font-size: clamp(4rem, 20vw, 5.8rem); }
  .apps-directory-hero { min-height: auto; padding: 80px 0 90px; gap: 64px; }
  .apps-directory-hero h1 { font-size: clamp(4rem, 20vw, 5.8rem); }
  .clean-app-grid { margin-top: 55px; }
  .clean-app-card { min-height: 300px; }
  .company-principles { grid-template-columns: 1fr; }
  .company-principles article,
  .company-principles article + article { min-height: 210px; padding: 26px 0; border-right: 0; border-bottom: 1px solid #dedede; }
  .company-principles h3 { margin-top: 55px; }
  .company-contact h2 { margin-bottom: 55px; }
  .xlaris-home .company-footer .footer-links { justify-self: start; }
}

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

/* Xlaris parent brand: deliberately monochrome. Product colour only appears
   inside product cards, where it belongs to the app rather than the studio. */
.xlaris-page {
  --red: #171716;
  --red-dark: #171716;
  --red-soft: #e9e8e3;
}

.xlaris-page .wordmark-dot {
  background: var(--ink);
  box-shadow: 0 0 0 5px #e5e4df;
}

.xlaris-page .display em,
.xlaris-page .eyebrow {
  color: var(--ink);
}

.xlaris-page .contact-band {
  background: var(--ink);
}

.studio-orbit {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.studio-orbit__ring {
  position: absolute;
  width: min(38vw, 470px);
  aspect-ratio: 1;
  border: 1px solid #cbc9c2;
  border-radius: 50%;
}

.studio-orbit__ring::before,
.studio-orbit__ring::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid #cbc9c2;
  border-radius: 50%;
}

.studio-orbit__ring::after {
  inset: 36%;
  background: var(--ink);
  border: 0;
}

.studio-x {
  position: relative;
  z-index: 2;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: white;
  background: var(--ink);
  font-size: 4.7rem;
  font-weight: 200;
  line-height: 1;
  transform: rotate(-6deg);
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}

.studio-logo {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  display: block;
  border-radius: 29px;
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  transform: rotate(-6deg);
  transition: transform 350ms cubic-bezier(.2,.8,.2,1);
}

.studio-orbit:hover .studio-logo {
  transform: rotate(0deg) scale(1.04);
}

.studio-label {
  position: absolute;
  z-index: 3;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251,250,246,.9);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: .88rem;
}

.studio-label--one { top: 16%; right: 0; }
.studio-label--two { bottom: 18%; left: -3%; }
.studio-label--three { bottom: 7%; right: 6%; }

.product-showcase {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  min-height: 540px;
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}

.product-card:hover { transform: translateY(-6px); }

.product-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.product-card__icon {
  width: 64px;
  height: 64px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: white;
}

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

.product-card__status {
  padding: 8px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.product-card__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.product-card h3 {
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.055em;
}

.product-card p {
  max-width: 340px;
  margin: 0 0 24px;
  line-height: 1.58;
  opacity: .72;
  font-size: .86rem;
}

.product-card--hansa {
  color: white;
  background: #d93a2b;
}

.product-card--hansa::after {
  content: "汉";
  position: absolute;
  right: -.18em;
  top: .15em;
  color: rgba(255,255,255,.12);
  font-family: var(--serif);
  font-size: 20rem;
}

.product-card--habisnap {
  border: 1px solid #d5d4cf;
  color: #111;
  background: #eeede9;
}

.product-card--habisnap::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: 105px;
  right: -70px;
  border: 35px solid #111;
  border-right-color: transparent;
  border-radius: 50%;
}

.product-card--vive {
  color: white;
  background: #121a36;
}

.product-card--vive::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: 48px;
  right: -135px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 68%);
}

.product-card--vive::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -26%;
  height: 62%;
  background-image:
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(350px) rotateX(58deg);
  transform-origin: bottom;
}

/* Collection page */
.collection-grid {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 150px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.collection-card {
  min-height: 620px;
}

.collection-card:first-child {
  grid-column: 1 / -1;
  min-height: 680px;
}

.collection-card:first-child h3 { font-size: clamp(5rem, 10vw, 10rem); }

.collection-note {
  grid-column: 1 / -1;
  padding: 70px 0 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  border-top: 1px solid var(--line);
}

.collection-note h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.collection-note p {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* HabiSnap */
.habisnap-page {
  --paper: #fff;
  --paper-bright: #fff;
  --line: #e5e5e5;
  background: #fff;
}

.habisnap-hero {
  width: var(--page);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 7vw;
  align-items: center;
}

.product-display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 8.5vw, 8.4rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.067em;
}

.product-display u {
  text-decoration-thickness: 5px;
  text-underline-offset: 10px;
}

.product-lede {
  max-width: 520px;
  margin: 32px 0 0;
  color: #555;
  font-size: 1.06rem;
  line-height: 1.7;
}

.habisnap-stage {
  min-height: 720px;
  overflow: hidden;
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: end center;
  background: #f0f1f0;
  border-radius: 34px 34px 0 0;
}

.habisnap-stage::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: 70px;
  right: -170px;
  border: 55px solid #101010;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: .08;
}

.screenshot-phone {
  position: relative;
  z-index: 2;
  width: min(340px, 70%);
  height: 670px;
  margin-bottom: -105px;
  padding: 11px;
  overflow: hidden;
  border-radius: 55px;
  background: #0d0d0d;
  box-shadow: 0 40px 80px rgba(0,0,0,.18);
  transform: rotate(3deg);
}

.screenshot-phone img {
  width: 100%;
  height: auto;
  border-radius: 44px;
}

.product-statement {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 180px) 0;
}

.product-statement p {
  max-width: 1020px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.5vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.snap-features {
  color: white;
  background: #111;
}

.snap-features__inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 0;
}

.snap-feature-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #393939;
}

.snap-feature {
  min-height: 330px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  background: #111;
}

.snap-feature span { color: #888; font-family: var(--serif); }
.snap-feature h3 { margin: auto 0 13px; font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.snap-feature p { margin: 0; color: #aaa; font-size: .86rem; line-height: 1.65; }

/* Vive */
.vive-page {
  --paper: #fff;
  --paper-bright: #fff;
  --line: #dedede;
  background: #fff;
}

.vive-top {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 5% 18%, rgba(110,45,255,.95), transparent 34%),
    linear-gradient(135deg, #243bff 0%, #236eff 48%, #08c8cf 100%);
}

.vive-top::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -27%;
  height: 64%;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 74px 74px;
  transform: perspective(540px) rotateX(61deg);
  transform-origin: bottom;
  pointer-events: none;
}

.product-signature--vive { color: white; }
.product-signature--vive small { color: rgba(255,255,255,.62); }
.product-signature--vive img { box-shadow: 0 12px 28px rgba(20,31,116,.28); }

.vive-hero {
  position: relative;
  z-index: 1;
  width: var(--page);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.vive-hero .eyebrow { color: rgba(255,255,255,.68); }
.vive-hero .product-lede { color: rgba(255,255,255,.7); }
.vive-hero .product-display {
  font-family: var(--sans);
  font-weight: 650;
  line-height: .85;
  letter-spacing: -.075em;
}

.vive-hero .product-display em {
  color: #b9fff9;
  font-style: normal;
}

.vive-stage {
  position: relative;
  align-self: stretch;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  place-items: end center;
}

.map-rings,
.map-rings::before,
.map-rings::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

.map-rings { width: 580px; height: 580px; top: 70px; right: -130px; }
.map-rings::before { inset: 80px; }
.map-rings::after { inset: 170px; background: rgba(255,255,255,.06); }

.vive-phone {
  position: relative;
  z-index: 3;
  width: min(350px, 75%);
  height: 660px;
  margin-bottom: -90px;
  padding: 11px;
  border-radius: 56px;
  background: #061736;
  box-shadow: 0 45px 90px rgba(8,28,105,.42);
  transform: rotate(-3deg);
}

.vive-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 45px;
  background: #cceef5;
}

.mock-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(25deg, transparent 47%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.55) 50%, transparent 51%),
    linear-gradient(110deg, transparent 42%, rgba(255,255,255,.4) 43%, rgba(255,255,255,.4) 45%, transparent 46%),
    linear-gradient(145deg, #5d63ea, #29aee0 58%, #48d4cb);
}

.mock-map::before,
.mock-map::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(181,239,242,.42);
}

.mock-map::before { width: 260px; height: 160px; top: 80px; left: -80px; transform: rotate(25deg); }
.mock-map::after { width: 220px; height: 260px; bottom: 70px; right: -100px; }

.map-pin {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 7px solid white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 5px 15px rgba(25,15,50,.3);
}

.map-pin--one { top: 180px; left: 95px; }
.map-pin--two { top: 300px; right: 80px; }
.map-pin--three { top: 400px; left: 125px; }

.map-panel {
  position: absolute;
  z-index: 3;
  left: 15px;
  right: 15px;
  bottom: 15px;
  padding: 24px;
  border-radius: 28px;
  color: #17151e;
  background: white;
}

.map-panel small { color: #898493; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.map-panel strong { display: block; margin-top: 8px; font-size: 1.5rem; }
.map-stats { margin-top: 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.map-stat { padding: 12px 6px; border-radius: 13px; text-align: center; background: #edf8fb; }
.map-stat b { display: block; font-size: 1rem; }
.map-stat span { color: #8a8790; font-size: .56rem; text-transform: uppercase; }

.vive-features {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 170px) 0;
}

.vive-page .section-heading,
.vive-page .product-statement p {
  font-family: var(--sans);
  font-weight: 590;
  letter-spacing: -.06em;
}

.vive-feature-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

.vive-feature {
  min-height: 360px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid #dbe8ff;
  background: linear-gradient(145deg, #f5f8ff, #eaf7fb);
}

.vive-feature:nth-child(2) { color: white; border-color: transparent; background: linear-gradient(145deg, #5830f5, #2267f5 58%, #12b9cb); }
.vive-feature:nth-child(3) { background: linear-gradient(145deg, #f4efff, #e9f0ff); }
.vive-feature:nth-child(4) { background: linear-gradient(145deg, #e9fbfb, #e8f2ff); }
.vive-feature span { font-family: var(--sans); font-weight: 700; letter-spacing: .06em; opacity: .58; }
.vive-feature h3 { margin: auto 0 13px; font-family: var(--sans); font-size: 2rem; font-weight: 650; letter-spacing: -.04em; }
.vive-feature p { max-width: 430px; margin: 0; opacity: .65; line-height: 1.65; font-size: .87rem; }

.vive-cta {
  background: linear-gradient(135deg, #6033f6 0%, #2567f5 50%, #0bc4cc 100%);
}

.vive-cta::after {
  content: "";
  inset: auto -12% -40% -12%;
  width: auto;
  height: 85%;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(58deg);
  transform-origin: bottom;
}

.vive-page .footer-wordmark {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -.055em;
}

@media (max-width: 900px) {
  .product-showcase { grid-template-columns: 1fr; }
  .product-card { min-height: 480px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card:first-child { grid-column: auto; }
  .collection-note { grid-column: auto; grid-template-columns: 1fr; gap: 20px; }
  .habisnap-hero,
  .vive-hero { grid-template-columns: 1fr; padding-top: 80px; }
  .habisnap-stage,
  .vive-stage { min-height: 650px; margin-top: 40px; }
  .snap-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .studio-orbit { min-height: 390px; }
  .studio-orbit__ring { width: min(88vw, 350px); }
  .studio-label--one { right: 0; }
  .studio-label--two { left: 0; }
  .product-card,
  .collection-card,
  .collection-card:first-child { min-height: 470px; padding: 26px; }
  .collection-card:first-child h3 { font-size: 4rem; }
  .habisnap-hero,
  .vive-hero { padding-top: 65px; }
  .product-display { font-size: clamp(4.1rem, 20vw, 6rem); }
  .habisnap-stage,
  .vive-stage { min-height: 580px; border-radius: 25px 25px 0 0; }
  .screenshot-phone,
  .vive-phone { width: 82%; }
  .product-statement p { font-size: 3.2rem; }
  .vive-feature-grid { grid-template-columns: 1fr; }
}
