body:has(.tutorial-layout) { --paper: #fafafa; background: #fafafa; }
body:has(.tutorial-layout) #main-content { background: #fafafa; }
.tutorial-shot { margin: 30px auto; text-align: center; }
.tutorial-shot img { display: block; width: 320px; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--line-soft); border-radius: 8px; }
.tutorial-shot figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tutorial-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tutorial-pair .tutorial-shot { width: 100%; }
.article-body blockquote { margin: 24px 0; padding: 18px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; }
.article-body blockquote p { margin: 0; }
@media (max-width: 600px) { .tutorial-pair { grid-template-columns: 1fr; gap: 0; } }

.tutorial-email img { width: 100%; }

/* An open tabletop of the five items, before the setup guide. */
.unbox { width: min(100%, 1200px); margin: 0 auto; padding: 48px 24px 0; scroll-margin-top: 76px; }
.unbox-heading { display: flex; align-items: baseline; gap: 16px; padding: 0 12px; }
.unbox-heading h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.unbox-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.unbox-strip { display: grid; grid-template-columns: 1.65fr .9fr .85fr 1.15fr .95fr; align-items: start; gap: 12px; padding: 30px 12px 12px; }
.unbox-item { min-width: 0; margin: 0; text-align: center; border-radius: 12px; }
.unbox-object { height: 245px; display: flex; align-items: center; justify-content: center; }
.unbox-object img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 420ms cubic-bezier(.2,.8,.2,1), filter 420ms ease; }
.unbox-item--plaque .unbox-object img { height: 84%; }
.unbox-item--stickers .unbox-object img { height: 88%; }
.unbox-item figcaption { min-height: 64px; padding: 16px 3px 8px; font-size: 12px; line-height: 1.5; transition: opacity 240ms ease, transform 240ms ease; }
.unbox-item figcaption strong { display: block; font-weight: 600; }
.unbox-item figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.unbox-item:hover .unbox-object img, .unbox-item:focus-visible .unbox-object img { transform: translateY(-10px) rotate(-3deg) scale(1.045); filter: drop-shadow(0 14px 9px rgba(0,0,0,.12)); }
.unbox-item:nth-child(even):hover .unbox-object img, .unbox-item:nth-child(even):focus-visible .unbox-object img { transform: translateY(-10px) rotate(3deg) scale(1.045); }
.unbox-item:focus-visible, .unbox-strip:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.unbox-hint { display: none; }
@media (hover: hover) and (pointer: fine) {
  .unbox-item figcaption { opacity: 0; transform: translateY(5px); }
  .unbox-item:hover figcaption, .unbox-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }
}
@media (max-width: 760px) {
  .unbox { padding: 30px 0 0; }
  .unbox-heading { padding: 0 20px; }
  .unbox-strip { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 20px; padding: 28px 20px 12px; gap: 20px; scrollbar-width: thin; }
  .unbox-item { flex: 0 0 190px; scroll-snap-align: start; }
  .unbox-item--box { flex-basis: 260px; }
  .unbox-object { height: 230px; }
  .unbox-item figcaption { opacity: 1; transform: none; }
  .unbox-hint { display: block; margin: 8px 20px 20px; color: var(--muted); font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .unbox-object img, .unbox-item figcaption { transition: none; }
  .unbox-item:hover .unbox-object img, .unbox-item:focus-visible .unbox-object img { transform: none; }
}

/* Keep the unboxing close to the title and inside the reading column. */
.article-body .unbox { width: 100%; margin: -20px 0 36px; padding: 0; }
.article-body .unbox-heading { padding: 0; gap: 12px; }
.article-body .unbox-heading h2 { margin: 0; padding: 0; font-size: 22px; }
.article-body .unbox-heading h2::before { display: none; }
.article-body .unbox-heading p { margin: 0; }
.article-body .unbox-strip { gap: 4px; padding: 22px 0 8px; }
.article-body .unbox-item { margin: 0; }
.article-body .unbox-object { height: 175px; }
.article-body .unbox-item figcaption { font-size: 11px; padding-inline: 0; }
.article-body .unbox-item figcaption span { font-size: 10px; }
@media (max-width: 760px) {
  .article-body .unbox-strip { gap: 8px; scroll-padding-inline: 0; }
  .article-body .unbox-item { flex-basis: 145px; }
  .article-body .unbox-item--box { flex-basis: 205px; }
  .article-body .unbox-hint { margin: 8px 0 0; }
}

.article-grid.tutorial-layout { grid-template-columns: minmax(0, 640px); justify-content: center; }

/* Article-only presentation; shared Journal styles stay unchanged. */
.tutorial-layout .article-body blockquote { background: #f4f4f4; border-inline-start: 3px solid #bdbdbd; border-left-color: #bdbdbd; }
.article-language { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: -24px 0 44px; color: var(--muted); font-size: 12px; }
.article-language select { max-width: 100%; padding: 7px 30px 7px 10px; border: 1px solid #ddd; border-radius: 6px; background: #f7f7f7; color: var(--ink); font: inherit; cursor: pointer; }
.article-language select:focus-visible { outline: 2px solid #777; outline-offset: 3px; }
.language-status { width: 100%; }
.language-status:empty { display: none; }
.article-body .unbox-strip { width: min(1120px, calc(100vw - 64px)); margin-inline: calc((100% - min(1120px, calc(100vw - 64px))) / 2); gap: 8px; }
.article-body .unbox-object { height: 290px; }
.article-body .unbox-item figcaption { font-size: 12px; }
.article-body .unbox-item figcaption span { font-size: 11px; }
.ceo-contact { position: relative; width: 320px; max-width: 100%; }
.ceo-contact .ceo-note { position: absolute; z-index: 2; inset-inline-start: 50%; bottom: 72px; width: min(300px, calc(100vw - 56px)); margin: 0; padding: 10px 12px; border: 1px solid #e7e7e7; border-radius: 6px; background: #fafafaf5; color: #777; box-shadow: none; font-size: 11px; line-height: 1.55; pointer-events: none; opacity: 0; visibility: hidden; transform: translateX(-50%); transition: opacity .15s ease, visibility .15s; }
[dir="rtl"] .ceo-contact .ceo-note { transform: translateX(50%); }
@media (hover: hover) and (pointer: fine) {
  .ceo-contact > img:hover ~ .ceo-note { opacity: 1; visibility: visible; }
}
.ceo-note a { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .article-body .unbox-strip { width: calc(100% + 40px); margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .article-body .unbox-object { height: 240px; }
  .article-body .unbox-item { flex-basis: 190px; }
  .article-body .unbox-item--box { flex-basis: 260px; }
}

@media (prefers-reduced-motion: reduce) { .ceo-contact .ceo-note { transition: none; } }

.closing-gallery { margin: 40px 0 32px; }
.closing-gallery-track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 4px 0 14px; border-radius: 10px; }
.closing-gallery-track img { display: block; flex: 0 0 88%; width: 88%; min-width: 0; height: auto; aspect-ratio: 2048 / 1366; object-fit: contain; border-radius: 10px; scroll-snap-align: start; }
.closing-gallery-track:focus { outline: none; }
.article-body .closing-gallery-note { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 18px; letter-spacing: -.02em; }
@media (max-width: 760px) {
  .closing-gallery-track { gap: 12px; }
  .closing-gallery-track img { flex-basis: 90%; width: 90%; }
}

/* Language picker sits immediately below the article subtitle. */
.article-hero .article-language { margin: 20px 0 0; gap: 0; }
.article-language > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.article-language-control { position: relative; display: inline-flex; align-items: center; color: #74746e; border-radius: 999px; background: #f7f7f5; transition: background .15s ease; }
.article-language-control:hover { background: #eeeeeb; }
.article-language-control select { appearance: none; -webkit-appearance: none; min-width: 150px; padding: 10px 34px 10px 36px; border: 1px solid #e9e9e5; border-radius: 999px; background: transparent; color: #55554f; font-size: 12px; line-height: 1.25; }
.article-language-control select:focus-visible { outline: 2px solid #aaa; outline-offset: 3px; }
.article-language-globe { position: absolute; inset-inline-start: 12px; pointer-events: none; }
.article-language-chevron { position: absolute; inset-inline-end: 12px; pointer-events: none; }
.article-language .language-status { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .article-language-control { transition: none; } }

.closing-gallery-track { scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 0; }
.closing-gallery-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.article-body .closing-gallery-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: normal; text-align: center; }
.tutorial-layout [data-tutorial-copy="59"] a { font-weight: 650; }
.article-download { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 280px; margin: 56px 0 16px; padding: 96px 24px 64px; overflow: hidden; border: 1px solid #e8e8e5; border-radius: 24px; background: linear-gradient(145deg, #fff, #f0f0ed); box-shadow: 0 10px 32px #25252105; transition: box-shadow .3s ease, border-color .3s ease; }
.article-download:hover { border-color: #deded9; box-shadow: 0 14px 40px #2525210a; }
.download-team { position: absolute; inset: 35px 0 auto; display: flex; justify-content: center; gap: 10px; pointer-events: none; }
.download-team img { width: 52px; height: 52px; object-fit: contain; opacity: 0; transform: translateY(28px) scale(.65) rotate(0deg); transition: opacity .25s ease, transform .5s cubic-bezier(.2,.8,.2,1.3); transition-delay: calc(var(--i) * 35ms); }
.article-download:hover .download-team img, .article-download:focus-within .download-team img { opacity: 1; transform: translateY(0) scale(1) rotate(var(--tilt)); }
@media (hover: none) { .download-team img { opacity: 1; transform: rotate(var(--tilt)); } }
@media (max-width: 600px) { .article-download { min-height: 240px; padding: 96px 16px 48px; margin-top: 40px; border-radius: 20px; } .download-team { gap: 3px; } .download-team img { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .download-team img, .article-download { transition: none; } }
.article-download a { display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px; border-radius: 999px; background: #252521; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.article-download a:hover { background: #45453f; color: #fff; }
.article-download a:focus-visible { outline: 2px solid #777; outline-offset: 4px; }

.article-language-trigger { min-width: 150px; padding: 10px 34px 10px 36px; border: 1px solid #e3e3df; border-radius: 999px; background: transparent; color: #55554f; font: inherit; font-size: 12px; cursor: pointer; text-align: start; }
.article-language-trigger:focus-visible { outline: 2px solid #b6b6ae; outline-offset: 3px; }
.article-language-menu { position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-start: 0; width: 210px; max-height: 340px; overflow-y: auto; padding: 6px; border: 1px solid #e6e6e2; border-radius: 14px; background: #fff; box-shadow: 0 12px 36px #00000014; scrollbar-width: thin; }
.article-language-menu[hidden] { display: none; }
.article-language-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; border-radius: 8px; padding: 9px 12px; background: transparent; color: #55554f; font: inherit; font-size: 13px; cursor: pointer; text-align: start; }
.article-language-menu button:hover, .article-language-menu button:focus-visible { background: #f4f4f2; outline: none; }
.article-language-menu button[aria-checked="true"] { color: #222; background: #f1f1ee; }
.article-language-menu button[aria-checked="true"]::after { content: '✓'; }
.article-download { min-height: 200px; padding: 64px 24px; }
.article-download a { position: relative; z-index: 2; }
.download-team { inset: 0; display: block; }
.download-team img { position: absolute; border-radius: 15px; box-shadow: 0 5px 15px #0000000d; transform: translate(var(--x), var(--y)) scale(.7) rotate(var(--tilt)); }
.download-team img:nth-child(1) { left: 5%; top: 20%; --x: -90px; --y: -50px; }
.download-team img:nth-child(2) { left: 25%; top: 6%; --x: -35px; --y: -80px; }
.download-team img:nth-child(3) { right: 24%; top: 5%; --x: 40px; --y: -90px; }
.download-team img:nth-child(4) { right: 5%; top: 22%; --x: 90px; --y: -30px; }
.download-team img:nth-child(5) { left: 16%; bottom: 7%; --x: -70px; --y: 80px; }
.download-team img:nth-child(6) { right: 15%; bottom: 6%; --x: 70px; --y: 80px; }
.article-download:hover .download-team img, .article-download:focus-within .download-team img { transform: translate(0, 0) scale(1) rotate(var(--tilt)); }
@media (max-width: 600px) { .article-download { min-height: 180px; padding: 64px 12px; } .download-team img { width: 34px; height: 34px; border-radius: 10px; } }
@media (hover: none) { .download-team img { transform: translate(0, 0) rotate(var(--tilt)); } }

.download-team img { border-radius: 50%; }
.article-download { flex-direction: column; gap: 12px; padding-block: 48px; }
.article-body .download-tagline { position: relative; z-index: 2; margin: 0; max-width: 360px; text-align: center; color: #85857e; font-size: 11px; line-height: 1.5; }
@media (max-width: 600px) { .download-team img { border-radius: 50%; } .article-body .download-tagline { max-width: 250px; font-size: 10px; } }

.closing-gallery-track .gallery-condition { flex: 0 0 88%; min-width: 0; display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 24px; padding: 20px; border-radius: 10px; background: #fff; scroll-snap-align: start; }
.closing-gallery-track .gallery-condition img { width: 100%; height: 310px; max-height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 18px; background: #fff; overflow: hidden; }
.article-body .gallery-condition p { margin: 0; font-size: 14px; line-height: 1.7; color: #62625c; }
@media (max-width: 600px) { .closing-gallery-track .gallery-condition { flex-basis: 90%; gap: 14px; padding: 14px; grid-template-columns: 38% 1fr; } .closing-gallery-track .gallery-condition img { height: 230px; } .article-body .gallery-condition p { font-size: 12px; line-height: 1.6; } }

.closing-gallery-track { cursor: grab; user-select: none; }
.closing-gallery-track img { -webkit-user-drag: none; }
.closing-gallery-track.is-dragging, .closing-gallery-track.is-settling { scroll-snap-type: none; }
.closing-gallery-track.is-dragging { cursor: grabbing; }
.gallery-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #e8e8ed; color: #626266; cursor: pointer; transition: background 150ms ease; }
.gallery-controls button:hover:not(:disabled) { background: #dcdce1; color: #1d1d1f; }
.gallery-controls button:disabled { background: #f1f1f3; color: #b7b7bc; cursor: default; }
.gallery-controls button:focus-visible { outline: 2px solid #888; outline-offset: 4px; }

/* Box availability and the compact title inset. */
.article-heading-copy { padding: 8px; }
.article-body .unbox-get-box { margin: 12px 0 0; text-align: center; font-size: 13px; }
.unbox-get-box a { text-underline-offset: 3px; }
.article-body .box-availability { margin-top: 40px; scroll-margin-top: 88px; }
.article-body .box-availability h2 { margin: 0 0 10px; font-size: 16px; }
.article-body .box-availability p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.box-availability a { font-weight: 600; text-underline-offset: 3px; }
html:has(.tutorial-layout) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.tutorial-layout) { scroll-behavior: auto; } }
