:root {
  color-scheme: dark;
  --brand-red: #e2060d;
  --text-primary: #fff;
  --text-secondary: rgb(255 255 255 / 80%);
  --text-muted: rgb(255 255 255 / 40%);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #080808;
  color: var(--text-primary);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p { margin: 0; }
button { font: inherit; }
button:disabled { opacity: 1; cursor: default; }
img { -webkit-user-drag: none; user-select: none; }

.scene {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  overflow: clip;
}

.backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.hero {
  width: min(100%, 1200px);
  padding: 100px 120px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  z-index: 1;
}

.brand { display: block; flex: none; height: 50px; animation: brand-enter 800ms cubic-bezier(.16, 1, .3, 1) 100ms both; }
.brand img { display: block; }
.hero-copy { display: flex; width: 100%; flex-direction: column; gap: 12px; }
h1 {
  font-size: 50px;
  line-height: 80px;
  font-weight: 860;
  letter-spacing: -.4px;
  font-variation-settings: "wdth" 100, "opsz" 28, "wght" 860;
  animation: copy-enter 800ms cubic-bezier(.16, 1, .3, 1) 220ms both;
}
.hero-copy p {
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  font-variation-settings: "wdth" 100, "opsz" 28, "wght" 400;
  color: var(--text-secondary);
  animation: copy-enter 800ms cubic-bezier(.16, 1, .3, 1) 340ms both;
}
.desktop-copy-break { display: none; }
@media (min-width: 1200px) { .desktop-copy-break { display: initial; } }

.camera-stage {
  position: relative;
  margin-top: auto;
  flex: 0 0 auto;
  height: calc(333px + var(--safe-bottom));
  /* app.js replaces the fallback with samples of the native .46 / .88 spring. */
  animation: stage-enter 800ms cubic-bezier(.16, 1, .3, 1) 450ms both;
}
.wheel-surface {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  max-width: none;
}
.wheel-input {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 980px);
  height: 100%;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
}
.wheel-input.is-dragging { cursor: grabbing; }
.camera-items { position: absolute; inset: 4px 0 -4px; pointer-events: none; }
.camera-art { position: absolute; top: 0; left: 50%; width: 128px; height: 128px; max-width: none; pointer-events: none; will-change: transform; }
.camera-initial { transform: translate(-64px, 24px); }
.camera-name {
  position: absolute;
  top: 162px;
  left: 0;
  right: 0;
  font-size: 17px;
  line-height: 21px;
  font-weight: 700;
  font-variation-settings: "wdth" 100, "opsz" 28, "wght" 700;
  text-align: center;
  pointer-events: none;
  transition: opacity 120ms ease-out, filter 120ms ease-out, transform 120ms ease-out;
}
.camera-name.is-changing { opacity: 0; filter: blur(4px); transform: translateY(16px); }
.camera-name.is-revealing { transition-duration: 260ms; }
.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(23px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.use-button {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  border: 0;
  border-radius: 80px;
  background: var(--brand-red);
  color: var(--text-primary);
  width: 91px;
  height: 50px;
  padding: 0 28px;
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
  -webkit-text-fill-color: var(--text-primary);
}
.footer-links { display: flex; gap: 8px; align-items: center; height: 17px; }
.footer-links img { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@keyframes brand-enter {
  from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes copy-enter {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes stage-enter { from { transform: translateY(110%); } to { transform: translateY(0); } }

@media (min-width: 701px) and (max-width: 1199px) {
  .hero { padding-inline: 40px; }
  h1 { font-size: clamp(32px, 3.48vw, 50px); line-height: 1.6; }
}

@media (max-width: 700px) {
  .hero { width: min(100%, 402px); padding: 80px 40px; }
  .brand { height: 24px; }
  /* Intrinsic SVG dimensions are preserved by using the matching mobile export. */
  .brand img { width: auto; height: auto; }
  h1 { font-size: 28px; line-height: 42px; }
  .hero-copy p { font-size: 14px; line-height: 21px; }
  .camera-stage { height: calc(323px + var(--safe-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .brand, h1, .hero-copy p, .camera-stage { animation: none !important; }
  .camera-name { transition-duration: 100ms; }
  .camera-name.is-changing { filter: none; transform: none; }
}

/* Details: Figma 3268:8769; mobile interaction and samples match CameraInfo. */
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; line-height: 17px; letter-spacing: -.08px; }
.footer-links a:hover { color: var(--text-secondary); }
.camera-detail-trigger:focus-visible { clip-path: none; width: auto; height: auto; padding: 8px 16px; left: 50%; top: 190px; transform: translateX(-50%); z-index: 2; border-radius: 20px; background: #282828; color: #fff; }
.overlay-open { overflow: hidden; }
dialog { padding: 0; border: 0; color: var(--text-primary); }
dialog:not([open]) { display: none; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.icon-button img { display: block; }
.icon-button:hover { background: #ffffff0d; }
.icon-button:focus-visible, .sample-button:focus-visible, .faq-item summary:focus-visible, .footer-links a:focus-visible { outline: 2px solid #fff9; outline-offset: 4px; }
.camera-dialog { width: 710px; max-width: calc(100% - 56px); max-height: calc(100svh - 56px); margin: auto; border-radius: 38px; overflow-y: auto; background: linear-gradient(180deg, #080808cc, #282828cc); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); overscroll-behavior: contain; }
.camera-dialog:focus { outline: none; }
.camera-dialog::backdrop { background: #0003; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.detail-close { position: absolute; right: 16px; top: 22.5px; }
.detail-info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; touch-action: pan-x; user-select: none; }
.detail-info h2 { margin: 0; padding-right: 44px; font-size: 28px; line-height: 33px; font-weight: 700; }
.detail-tags { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.detail-tags::-webkit-scrollbar, .detail-gallery::-webkit-scrollbar { display: none; }
.detail-tags span { flex-shrink: 0; padding: 4px 8px; border-radius: 8px; background: var(--brand-red); font-size: 14px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.detail-description { color: var(--text-muted); font-size: 14px; line-height: 18px; }
.detail-gallery { display: flex; align-items: center; gap: 12px; padding: 0 28px 28px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.sample-button { border: 0; padding: 0; background: transparent; cursor: zoom-in; flex: 0 0 auto; height: 280px; border-radius: 28px; scroll-snap-align: center; }
.sample-button img { width: auto; height: 100%; display: block; object-fit: contain; border-radius: inherit; }
.sample-button.is-instant { width: 210px; height: auto; border-radius: 0; }
.sample-button.is-instant img { width: 100%; height: auto; }

/* Legal and support pages: 800px text column over the blurred home on desktop. */
.page-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; background: #0003; backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); overflow-y: auto; overscroll-behavior: contain; }
.page-dialog::backdrop { background: transparent; }
.page-article { display: flex; flex-direction: column; width: min(800px, calc(100% - 112px)); margin-inline: auto; padding: 80px 0; gap: 28px; }
.page-article h2 { font-size: 32px; line-height: 48px; font-weight: 700; margin: 0; }
.page-nav { display: none; }
.page-close { position: fixed; right: 28px; top: 28px; z-index: 1; }
.effective-date { color: var(--text-secondary); font-size: 17px; line-height: 25.5px; }
.legal-copy { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 25.5px; }
.legal-copy h3 { margin: 18px 0 0; font-size: 22px; line-height: 33px; }
.legal-copy h4 { margin: 10px 0 0; font-size: 18px; line-height: 27px; }
.legal-copy ul, .legal-copy ol, .faq-answer ul, .faq-answer ol { padding-left: 1.5em; margin: 0; }
.legal-copy li + li, .faq-answer li + li { margin-top: 8px; }
.legal-copy a, .faq-answer a, .support-introduction a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.support-introduction { color: #fff9; font-size: 14px; line-height: 21px; }
.faq-answer { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; color: #fff9; font-size: 14px; line-height: 21px; }
.faq-answer p { padding-bottom: 0; }
.support-heading + .support-introduction { margin-top: -8px; }
.faq-item summary { list-style: none; padding: 12px 0; color: #ffffffe5; font-size: 17px; font-weight: 500; line-height: 30.6px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-item p { color: #fff9; font-size: 14px; line-height: 21px; padding-bottom: 12px; white-space: pre-line; }
.support-contact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; color: #ffffffe5; font-size: 17px; line-height: 30.6px; }
.support-contact a { color: #fff9; text-decoration: none; }
.support-contact a:hover { color: #fff; }

/* Full-screen, swipeable native sample viewer. */
.photo-dialog { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: #080808; overflow: hidden; }
.photo-dialog::backdrop { background: #080808; }
.photo-close { position: absolute; left: 28px; top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 2; }
.photo-carousel { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.photo-carousel::-webkit-scrollbar { display: none; }
.photo-slide { display: flex; align-items: center; justify-content: center; flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; padding: 76px 28px 56px; }
.photo-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.photo-dots { position: absolute; bottom: calc(28px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.photo-dots button { position: relative; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #404040; cursor: pointer; }
.photo-dots button::before { content: ''; position: absolute; inset: -9px -3px; }
.photo-dots .is-active { background: #fff; }

@media (max-width: 700px) {
  .camera-dialog { width: 100%; max-width: none; max-height: 85svh; margin: auto 0 0; border-radius: 40px 40px 0 0; background: linear-gradient(180deg, #080808, #282828); padding-bottom: var(--safe-bottom); }
  .camera-dialog::backdrop { background: #0003; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .detail-close { display: none; }
  .detail-gallery { padding-inline: 16px; align-items: flex-start; touch-action: pan-x pinch-zoom; }
  .sample-button { border-radius: 26px; }
  .sample-button:focus-visible, .photo-close:focus-visible { outline: none; }
  .photo-close:hover { background: transparent; }
  .detail-description { color: #737373; line-height: 19px; }
  .page-dialog { background: #181818; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .page-nav { position: sticky; top: 0; display: flex; align-items: center; justify-content: center; height: calc(68px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); z-index: 1; background: #181818; font-size: 17px; font-weight: 600; line-height: 22px; color: #ffffffe5; }
  .page-back { position: absolute; left: 18px; bottom: 12px; }
  .page-back:hover, .page-back:focus-visible { background: transparent; outline: none; }
  .page-close { display: none; }
  .page-article { width: 100%; padding: 0 28px calc(32px + var(--safe-bottom)); gap: 20px; }
  .page-article h2 { font-size: 22px; line-height: 33px; }
  .effective-date, .legal-copy { font-size: 14px; line-height: 21px; }
  .support-article { gap: 0; }
  .support-heading + .support-introduction { margin-top: 16px; margin-bottom: 8px; }
  .legal-copy h3 { font-size: 18px; line-height: 27px; }
  .legal-copy h4 { font-size: 16px; line-height: 24px; }
  .photo-slide { padding-inline: 0; }
}

/* Figma 3376:7544: the language row participates in the hero's layout. */
.language-bar {
  width: min(100%, 1200px);
  height: 72px;
  flex: none;
  margin-inline: auto;
  padding: 16px 40px;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}
.language-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-red);
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}
.hero { padding-block: 80px; }
.detail-info h2:focus { outline: none; }

@media (max-width: 700px) {
  .language-bar { width: min(100%, 398px); padding-inline: 16px; }
  .hero { padding-block: 40px; }
  html[lang="zh-CN"] .hero-copy h1 {
    width: min(336px, calc(100vw - 32px));
    align-self: center;
    font-size: clamp(20px, calc((100vw - 32px) / 12), 28px);
    letter-spacing: 0;
  }
  .detail-gallery { scroll-padding-inline: 16px; }
  .sample-button { scroll-snap-align: start; }
}

.language-toggle { text-decoration: none; }
.static-page { background: #181818; min-height: 100vh; }
body:has(> .static-page) .scene { display: none; }
.static-page .page-article { padding-block: 28px; }
