:root {
  color-scheme: dark;
  --background: #090c10;
  --surface: #12171d;
  --surface-raised: #181e25;
  --surface-soft: #0e1318;
  --text: #f3f5f7;
  --secondary: #a5adb7;
  --muted: #747d88;
  --border: #27313b;
  --accent: #4a9bea;
  --accent-strong: #2e87df;
  --accent-soft: rgba(74, 155, 234, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
}

body [data-language] { display: none; }
html[data-language="en"] body [data-language="en"] { display: revert; }
html[data-language="zh"] body [data-language="zh"] { display: revert; }

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  width: min(100% - 48px, 1220px);
  min-height: 82px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  translate: -50% 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.brand-lockup {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 720;
}

.brand-lockup img,
.footer-brand img {
  border-radius: 10px;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.30);
}

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

.site-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 620;
}

.site-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(18, 23, 29, 0.80);
}

.language-switcher button {
  min-width: 42px;
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--surface-raised);
  color: var(--text);
}

.header-download {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(24, 30, 37, 0.90);
  text-decoration: none;
  font-size: 12px;
  font-weight: 680;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, calc(100svh - 42px));
  align-items: center;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - 1220px) / 2)) 92px;
  border-bottom: 1px solid var(--border);
  background: #080b0f;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.98) 0%, rgba(8, 11, 15, 0.94) 38%, rgba(8, 11, 15, 0.45) 68%, rgba(8, 11, 15, 0.12) 100%),
    linear-gradient(0deg, #080b0f 0%, transparent 32%);
  content: "";
  z-index: 2;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 52px;
  right: max(-54px, calc((100vw - 1360px) / 2));
  width: min(59vw, 720px);
  height: 920px;
  overflow: hidden;
  opacity: 0.84;
  transform: rotate(2deg);
  transform-origin: 50% 20%;
  mask-image: linear-gradient(to bottom, black 4%, black 74%, transparent 98%);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle at 75% 44%, rgba(51, 129, 207, 0.10), transparent 36%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(650px, 58vw);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(64px, 9vw, 116px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.92;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 31px;
  color: #c0c6ce;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.primary-action {
  border: 1px solid color-mix(in srgb, var(--accent) 76%, white 8%);
  background: var(--accent-strong);
  color: white;
  box-shadow: 0 13px 34px rgba(22, 108, 194, 0.20);
}

.primary-action:hover { background: #3b91e5; }

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 23, 29, 0.72);
  color: var(--text);
}

.availability {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.principles {
  display: grid;
  width: min(100% - 48px, 1220px);
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.principles > div {
  min-height: 164px;
  padding: 39px 36px 35px;
  border-left: 1px solid var(--border);
}

.principles > div:last-child { border-right: 1px solid var(--border); }

.principles strong,
.principles span,
.sharing-details strong,
.sharing-details span {
  display: block;
}

.principles strong {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
}

.principles span {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.55;
}

.experience-section {
  padding: 112px max(24px, calc((100vw - 1220px) / 2)) 126px;
  overflow: hidden;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 64px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 735;
  letter-spacing: 0;
  line-height: 1.08;
}

.section-heading > p:last-child,
.sharing-copy > p,
.library-copy > p {
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.7;
}

.product-gallery {
  display: grid;
  height: min(64vw, 760px);
  min-height: 540px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.product-shot {
  position: relative;
  height: 92%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
  background: var(--surface-soft);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.24);
}

.product-shot:nth-child(2) { height: 100%; }
.product-shot:nth-child(3) { height: 95%; }

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.product-shot figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 18px 18px;
  background: linear-gradient(transparent, rgba(8, 11, 15, 0.96) 64%);
  color: var(--text);
  font-size: 13px;
  font-weight: 680;
}

.sharing-section {
  display: grid;
  min-height: 740px;
  grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
  padding: 100px max(24px, calc((100vw - 1220px) / 2));
  border-block: 1px solid var(--border);
  background: var(--surface-soft);
}

.sharing-visual {
  height: 600px;
  overflow: hidden;
  border: 1px solid #243140;
  border-radius: 8px;
  background: #07090c;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.sharing-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.sharing-copy { max-width: 600px; }

.sharing-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  border-block: 1px solid var(--border);
}

.sharing-details > div { padding: 24px 26px 24px 0; }
.sharing-details > div + div { padding-left: 26px; border-left: 1px solid var(--border); }

.sharing-details strong {
  margin-bottom: 8px;
  font-size: 14px;
}

.sharing-details span {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.55;
}

.library-section {
  display: flex;
  width: min(100% - 48px, 1220px);
  min-height: 360px;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin: 0 auto;
  padding: 86px 0;
}

.library-copy { max-width: 720px; }
.library-copy h2 { font-size: clamp(34px, 4.2vw, 56px); }
.library-section > .primary-action { flex: 0 0 auto; }

.purchase-note {
  margin: 21px 0 0;
  color: var(--text) !important;
  font-size: 13px !important;
  font-weight: 680;
}

.site-footer {
  display: grid;
  width: min(100% - 48px, 1220px);
  min-height: 154px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 48px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand strong,
.footer-brand span { display: block; }
.footer-brand strong { margin-bottom: 3px; color: var(--text); font-size: 14px; }
.footer-brand span { color: var(--muted); }

.footer-links { display: flex; flex-wrap: wrap; gap: 19px; }
.footer-links a { color: var(--secondary); text-decoration: none; }
.site-footer > p { margin: 0; }

@media (max-width: 840px) {
  .site-header {
    width: calc(100% - 32px);
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .site-nav { display: none; }
  .brand-lockup { font-size: 16px; }
  .brand-lockup img { width: 38px; height: 38px; }
  .header-download { display: none !important; }

  .hero {
    min-height: min(760px, calc(100svh - 24px));
    align-items: flex-start;
    padding: 118px 22px 80px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 11, 15, 0.99) 0%, rgba(8, 11, 15, 0.92) 47%, rgba(8, 11, 15, 0.30) 74%, #080b0f 100%);
  }

  .hero-visual {
    top: 330px;
    right: -11%;
    width: 76%;
    height: 650px;
    opacity: 0.62;
    transform: rotate(1.5deg);
  }

  .hero-shade { display: none; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(62px, 20vw, 86px); }
  .hero-lede { max-width: 560px; font-size: 19px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 360px); }
  .primary-action, .secondary-action { width: 100%; }

  .principles {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
  }

  .principles > div {
    min-height: 0;
    padding: 27px 8px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .principles > div:first-child { border-top: 0; }
  .principles > div:last-child { border-right: 0; }

  .experience-section { padding: 84px 22px 96px; }
  .section-heading { margin-bottom: 42px; }
  h2 { font-size: 39px; }

  .product-gallery {
    width: max-content;
    height: 600px;
    min-height: 0;
    grid-template-columns: repeat(3, 286px);
    gap: 14px;
    padding-right: 22px;
  }

  .experience-section { overflow-x: auto; }
  .product-shot, .product-shot:nth-child(2), .product-shot:nth-child(3) { height: 100%; }

  .sharing-section {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 82px 22px 90px;
  }

  .sharing-copy { grid-row: 1; }
  .sharing-visual { height: min(126vw, 620px); }

  .library-section {
    width: calc(100% - 44px);
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    padding: 76px 0 82px;
  }

  .library-section > .primary-action { width: 100%; }

  .site-footer {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0 42px;
  }
}

@media (max-width: 430px) {
  .hero { min-height: 742px; }
  .hero-lede { font-size: 18px; }
  .sharing-details { grid-template-columns: 1fr; }
  .sharing-details > div { padding: 21px 0; }
  .sharing-details > div + div { padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
}

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