.xr-story {
  --xr-copy: #b1b1b1;
  --xr-rule: #282828;
  --xr-link: #78adff;
  --xr-inset: clamp(24px, 8vw, 176px);
  --xr-section-space: clamp(48px, 6vw, 88px);
  --xr-block-space: clamp(28px, 4vw, 58px);
  position: relative;
  color: var(--xr-copy);
  background: #000;
  font: 500 clamp(16px, 1.35vw, 18px)/1.56 Inter, Arial, sans-serif;
}

.xr-section {
  box-sizing: content-box;
  max-width: 1088px;
  margin-inline: auto;
  padding: var(--xr-section-space) var(--xr-inset);
  border-top: 1px solid var(--xr-rule);
  scroll-margin-top: 32px;
}

.xr-section h2, .xr-section h3, .xr-section h4, .xr-section p, .xr-section figure {
  margin: 0;
}

.xr-section h2, .xr-principle-list h3 {
  color: #e7e7e7;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  background: linear-gradient(179.7deg, #fff 20%, #999 98%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.xr-section h3, .xr-section h4 {
  color: #e5e5e5;
  font-weight: 600;
  line-height: 1.2;
}

.xr-section h3 { font-size: clamp(22px, 2.1vw, 30px); }
.xr-principle-list h3 { font-size: clamp(25px, 3.15vw, 48px); }
.xr-section h4 { font-size: 18px; }
.xr-section h3 + p, .xr-section h4 + p { margin-top: 10px; }
.xr-section img { display: block; width: 100%; height: auto; }
.xr-section figcaption, .xr-caption { color: #929292; font-size: 14px; }
.xr-section button { font: inherit; }
.xr-section a:focus-visible, .xr-section button:focus-visible, .xr-section summary:focus-visible {
  outline: 2px solid var(--xr-link);
  outline-offset: 5px;
}

.xr-intro, .xr-pair, .xr-aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 6vw, 92px);
}

.xr-intro { align-items: start; margin-bottom: var(--xr-block-space); }
.xr-intro p { padding-top: 3px; max-width: 596px; }
.xr-principle-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.xr-principle-list p { max-width: 205px; }
.xr-section .xr-question { margin-top: var(--xr-block-space); max-width: 780px; color: #f1f1f1; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.025em; line-height: 1.16; }
.xr-index { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.xr-index a, .xr-text-link { color: var(--xr-link); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.xr-index a { font-size: 15px; text-decoration: none; }
.xr-index a:hover, .xr-text-link:hover { color: #b3d1ff; }
.xr-placement { align-items: end; }
.xr-placement figure { max-width: 460px; }
.xr-placement-art { position: relative; max-width: 340px; margin-inline: auto; }
.xr-placement-art > img:first-child { aspect-ratio: 1; object-fit: contain; }
.xr-placement-art .xr-entry { position: absolute; width: 15%; }
.xr-entry-overhead { top: 3%; left: 68%; }
.xr-entry-hand { top: 12%; left: 25%; }
.xr-placement figcaption { margin-top: 22px; }
.xr-placement figcaption p { color: var(--xr-copy); font-size: clamp(16px, 1.35vw, 18px); }
.xr-section .xr-subtitle { margin-top: var(--xr-block-space); }
.xr-gestures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 28px; }
.xr-gestures img { aspect-ratio: 1; object-fit: contain; }
.xr-gestures figcaption { margin-top: 14px; }
.xr-section .xr-reading { max-width: 680px; margin-top: 28px; }
.xr-section .xr-panel-figure { max-width: 720px; margin-inline: auto; text-align: center; }
.xr-panel-figure figcaption, .xr-feedback figcaption { margin-top: 16px; }
.xr-story-stage { position: relative; aspect-ratio: 542 / 264; }
.xr-stage-target, .xr-stage-entry { position: absolute; inset: 0; visibility: hidden; }
.xr-stage-target .xr-highlight, .xr-hover-state .xr-highlight { position: absolute; left: 39.88%; top: 10.99%; width: 25.78%; }
.xr-stage-entry img:first-child { width: 29%; margin: 0 auto; }
.xr-stage-entry img:last-child { position: absolute; width: 7%; left: 43%; top: 18%; }
.xr-story-stage[data-state="target"] .xr-stage-target,
.xr-story-stage[data-state="entry"] .xr-stage-entry { visibility: visible; }
.xr-story-stage[data-state="target"] .xr-stage-panel,
.xr-story-stage[data-state="entry"] .xr-stage-panel,
.xr-story-stage[data-state="dismissed"] .xr-stage-panel { visibility: hidden; }
.xr-stage-cursor, .xr-pinch-point {
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #050505, 0 0 10px #fffc;
}
.xr-stage-cursor { left: 94%; top: 52%; visibility: hidden; }
.xr-story-stage[data-state="edge"] .xr-stage-cursor { visibility: visible; }
.xr-step-state, .xr-step-copy { display: block; }
.xr-step-state { color: #e5e5e5; font-weight: 600; }
.xr-step-copy { margin-top: 4px; min-height: 3.12em; }
.xr-models { margin-top: var(--xr-block-space); }
.xr-models .xr-caption, .xr-precision .xr-caption { margin-bottom: 8px; }
.xr-section .xr-flow { margin-top: 18px; color: #dedede; font-size: clamp(14px, 1.5vw, 17px); }
.xr-aside, .xr-scope { border-top: 1px solid var(--xr-rule); }
.xr-walkthrough-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #38383a;
  border-radius: 28px;
}
.xr-step-controls[hidden] + .xr-panel-figure { grid-column: 1 / -1; }
.xr-walkthrough .xr-panel-figure { width: 100%; }
.xr-mode-options:not([hidden]) {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 4px;
  border: 1px solid #38383a;
  border-radius: 999px;
  background: #111;
}
.xr-step-controls:not([hidden]) { display: grid; justify-items: start; gap: 8px; }
.xr-walkthrough button, .xr-more-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #1d1d1f;
  color: #f5f5f7;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.xr-walkthrough button { padding: 8px 15px 8px 11px; font-size: 15px; text-align: left; }
.xr-walkthrough button:hover, .xr-more-button:hover { background: #303033; }
.xr-walkthrough button[aria-pressed="true"] { background: #29292c; }
.xr-mode-options button {
  justify-content: center;
  padding: 8px 16px;
  text-align: center;
  background: transparent;
  color: #b1b1b1;
}
.xr-mode-options button[aria-pressed="true"] { background: #38383a; color: #f5f5f7; }
.xr-option-icon, .xr-more-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
}
.xr-option-icon { width: 20px; height: 20px; border: 1px solid currentColor; }
.xr-option-icon::before, .xr-option-icon::after,
.xr-more-icon::before, .xr-more-icon::after {
  content: "";
  grid-area: 1 / 1;
  width: 48%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.xr-option-icon::after, .xr-more-icon::after { transform: rotate(90deg); }
.xr-walkthrough button[aria-pressed="true"] .xr-option-icon { background: #414145; border-color: #626267; }
.xr-walkthrough button[aria-pressed="true"] .xr-option-icon::before { width: 6px; height: 6px; border-radius: 50%; }
.xr-walkthrough button[aria-pressed="true"] .xr-option-icon::after,
.xr-more[open] .xr-more-icon::after { display: none; }
.xr-pinch-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.xr-pinch-card { position: relative; width: min(100%, 140px); margin-bottom: 10px; }
.xr-pinch-point { left: 60%; top: 58%; }
.xr-point-displaced { left: 87%; top: 81%; background: #050505; border: 1px solid #d1d1d1; box-shadow: 0 0 0 2px #050505; }
.xr-pinch-study figcaption { margin-top: 18px; }
.xr-precision { margin-top: var(--xr-block-space); }
.xr-more { margin-top: 32px; }
.xr-more-button {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 13px;
  padding: 7px 7px 7px 19px;
  font-size: 16px;
  text-decoration: none;
}
.xr-more-button::-webkit-details-marker { display: none; }
.xr-more-icon { width: 32px; height: 32px; background: #2764c7; }
.xr-more-link { margin-top: 32px; }
.xr-detail { max-width: 700px; margin: 24px auto 0; padding-bottom: 12px; }
.xr-detail p + h4 { margin-top: 23px; }
.xr-aside { margin-top: 32px; padding-top: 26px; }
.xr-text-link { display: inline-block; margin-top: 28px; }
.xr-feedback .xr-caption { margin-top: 16px; color: #ddd; }
.xr-hover-state { position: relative; }
.xr-scope { margin: 0; }
.xr-scope > div { display: grid; grid-template-columns: 1fr 1.65fr; gap: 12px 28px; padding: 16px 0; border-bottom: 1px solid var(--xr-rule); }
.xr-scope dt { color: #e5e5e5; font-weight: 600; }
.xr-scope dd { margin: 0; }
.xr-ending { padding-bottom: clamp(56px, 8vw, 112px); }
.xr-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 850px) {
  .xr-principle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}

@media (max-width: 680px) {
  .xr-walkthrough-panel { grid-template-columns: minmax(0, 1fr); padding: clamp(12px, 4vw, 24px); }
  .xr-step-controls:not([hidden]) { display: flex; flex-wrap: wrap; }
  .xr-walkthrough button { padding-inline: 9px; gap: 6px; font-size: 14px; }
  .xr-option-icon { width: 17px; height: 17px; }
}

@media (max-width: 600px) {
  .xr-intro, .xr-pair, .xr-aside, .xr-scope > div { grid-template-columns: minmax(0, 1fr); }
  .xr-pair { gap: 40px; }
  .xr-gestures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-placement figure { max-width: none; }
  .xr-placement-art { max-width: 248px; }
  .xr-pinch-frames { grid-template-columns: 1fr; gap: 16px; }
  .xr-pinch-frames > div { display: grid; grid-template-columns: 90px 1fr; align-content: center; column-gap: 12px; }
  .xr-pinch-card { grid-row: span 2; margin: 0; }
  .xr-pinch-frames > div > p:first-of-type { align-self: end; }
}
