/* Motion has a job: reading order, selected state and progress through a task. */
:root{--motion-fast:180ms;--motion-enter:560ms;--motion-ease:cubic-bezier(.2,.7,.2,1);--motion-blue:#0071e3}
html{scroll-padding-top:130px}
body.apple-home main :is(a,button),body.qr-product-page main :is(a,button){-webkit-tap-highlight-color:transparent}
body.apple-home :is(.service-button,.lp-design-cta),body.qr-product-page .service-button{transition:background-color var(--motion-fast),box-shadow var(--motion-fast),transform var(--motion-fast)}
body.apple-home :is(.service-button,.lp-design-cta):hover,body.qr-product-page .service-button:hover{transform:translateY(-2px);box-shadow:0 6px 18px #0750a81a}
body.apple-home :is(.service-button,.lp-design-cta):active,body.qr-product-page .service-button:active{transform:translateY(0)}
body.apple-home main#main-content #hero .motion-title{max-width:1000px;margin-inline:auto}
body.apple-home .motion-title>span:empty{display:none}
body.apple-home main#main-content #hero .lp-eyebrow{letter-spacing:.035em!important}
body.apple-home main#main-content #hero .showcase-controls{position:relative}
body.apple-home main#main-content #hero .showcase-options button{transition:background-color var(--motion-fast),box-shadow var(--motion-fast),color var(--motion-fast)}
body.apple-home main#main-content #hero .showcase-options button:focus-visible{outline:3px solid #0071e3;outline-offset:3px}
/* A compact, persistent orientation strip; no artificial homepage breadcrumb. */
body.apple-home .motion-section-nav{position:sticky;top:var(--site-header-height,64px);z-index:30;background:#fffffff0;backdrop-filter:blur(18px);border-bottom:1px solid #e8e8ed}
body.apple-home .motion-section-nav>.service-shell{display:flex;align-items:center;justify-content:center;gap:32px;min-height:52px}
body.apple-home .motion-section-nav a{display:flex;min-height:48px;align-items:center;font-size:12px;font-weight:600;color:#6e6e73;text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap;transition:color var(--motion-fast),border-color var(--motion-fast)}
body.apple-home .motion-section-nav a:hover,body.apple-home .motion-section-nav a[aria-current]{color:#0071e3;border-bottom-color:#0071e3}
body.apple-home main#main-content>.service-section{scroll-margin-top:135px}
/* Hand-operated design rail: an edge preview communicates swiping. */
body.apple-home #design-examples .motion-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
.motion-gallery-toolbar>div{display:flex;gap:10px}.motion-gallery-count{font-size:13px;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:#6e6e73}
body .motion-round-button{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;min-width:46px;min-height:46px;box-sizing:border-box;padding:0;border:0;border-radius:50%;background:#ededf0;color:#1d1d1f;font-family:inherit;font-size:23px;line-height:1;cursor:pointer;transition:background-color var(--motion-fast),transform var(--motion-fast)}
body .motion-round-button:hover{background:#e0e0e5;transform:scale(1.04)}body .motion-round-button:disabled{opacity:.32;cursor:default;transform:none}
body .motion-round-button:focus-visible{outline:3px solid #0071e3;outline-offset:4px}
body.apple-home #design-examples .lp-layout-grid{display:flex;gap:24px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scroll-padding-inline:0;margin:0 0 24px;padding:5px 0 12px;max-width:100%}
body.apple-home #design-examples .lp-layout-grid::-webkit-scrollbar{display:none}
body.apple-home #design-examples .lp-layout-example{flex:0 0 calc((100% - 48px)/3);margin:0;scroll-snap-align:start;min-width:0}
body.apple-home #design-examples .motion-preview{position:relative;display:block;width:100%;border:0;border-radius:24px;padding:16px;background:#fafafa;cursor:zoom-in;overflow:hidden}
body.apple-home #design-examples .motion-preview:focus-visible{outline:3px solid #0071e3;outline-offset:3px}
body.apple-home #design-examples .motion-preview-plus{position:absolute;right:14px;bottom:18px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#1d1d1f;color:white;font-size:25px;line-height:1;transition:transform var(--motion-fast),background-color var(--motion-fast)}
body.apple-home #design-examples .motion-preview:hover .motion-preview-plus{transform:rotate(90deg);background:#0071e3}
body.apple-home #design-examples .lp-layout-example figcaption{padding:20px 6px;align-items:baseline;gap:12px}
body.apple-home #design-examples .service-note{text-align:center;margin:16px auto 0;max-width:750px}
body.apple-home #design-examples .lp-design-cta{margin-top:24px}
/* A bounded, real process: original -> review -> delivered files. */
body.service-site.apple-home main#main-content #how-it-works{background:#f5f5f7}
body .motion-flow{position:relative;margin-top:36px}
body .motion-flow-rail{height:2px;background:#dce4ed;margin:0 4px 32px;overflow:hidden;border-radius:2px}
body .motion-flow-rail>span{display:block;width:100%;height:100%;background:#0071e3;transform-origin:left}
body.apple-home main#main-content #how-it-works .process-grid{gap:20px;counter-reset:flow}
body.apple-home main#main-content #how-it-works .process-grid>article{border:1px solid #e5e5ea;background:#fff;border-radius:24px;padding:28px;box-shadow:none;min-width:0;transition:border-color var(--motion-fast)}
body.apple-home #how-it-works .process-grid>article::after{display:none}
body.apple-home #how-it-works .process-grid .step-number{display:block;margin:0 0 16px;background:transparent;color:#86868b;font-size:12px;line-height:1.5;width:auto;height:auto;padding:0}
body.apple-home #how-it-works .process-grid h3{margin:0 0 12px;font-size:21px!important}
body.apple-home #how-it-works .process-grid p{margin:0;color:#6e6e73;font-size:15px;line-height:1.8}
body .motion-flow-icon{display:block;width:40px;height:40px;stroke:#0071e3;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none;margin-bottom:24px}
body.apple-home #how-it-works .process-grid>.motion-step-done{border-color:#0071e34d}
body .motion-replay{display:block;width:fit-content;min-height:44px;margin:24px 0 0;padding:8px 0;border:0;background:transparent;color:#0066cc;font:inherit;font-size:13px;cursor:pointer;text-decoration:none}
body .motion-replay::before{content:'↻';display:inline-block;margin-right:8px;font-size:19px;vertical-align:middle}
body .motion-replay:hover{text-decoration:underline}
body.qr-product-page .qr-flow-block.motion-flow{padding:32px;border-radius:24px;background:#f5f5f7}
body.qr-product-page .motion-flow .motion-flow-rail{margin-top:28px}
body.qr-product-page .motion-flow .ordering-flow>li{transition:background-color var(--motion-fast),border-color var(--motion-fast)}
body.qr-product-page .motion-flow .ordering-flow>.motion-step-done{border-color:#0071e34d;background:#fff}
/* A native design detail dialog: clear title, artifact, note, then one next action. */
html.motion-modal-open{overflow:hidden}
body .motion-design-dialog{width:min(560px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box;margin:auto;padding:28px;border:1px solid #e5e5ea;border-radius:28px;background:#fff;color:#1d1d1f;overflow:auto;overscroll-behavior:contain;box-shadow:0 32px 120px #0003}
body .motion-design-dialog::backdrop{background:#11182799;backdrop-filter:blur(10px)}
body .motion-design-dialog>header{position:sticky;top:-28px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;background:#fffffff5;padding:12px 0;z-index:2}
body .motion-design-dialog .motion-dialog-eyebrow{font-size:12px;color:#6e6e73;margin:0 0 6px}
body.apple-home main#main-content .motion-design-dialog h2{font-size:26px!important;line-height:1.3;margin:0}
body .motion-design-dialog footer{border-top:1px solid #e8e8ed;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:24px}
body .motion-design-dialog .motion-design-note{font-size:12px;line-height:1.6;color:#6e6e73;margin:0;max-width:430px}
body .motion-design-dialog .motion-design-consult{flex-shrink:0;min-height:46px;padding:12px 20px;border:0;border-radius:28px;background:#0071e3;color:white;font:inherit;font-size:14px;cursor:pointer}
body .motion-design-dialog .motion-design-consult:hover{background:#005bb5}
/* The application already uses native dialog; visually unify it with the gallery. */
body.apple-home .ux-application-dialog{background:#fff;border-color:#e5e5ea;border-radius:28px;box-shadow:0 32px 100px #0003;padding:28px}
body.apple-home .ux-application-dialog>header{background:#fffffff5;top:-28px;padding-block:12px;margin-bottom:20px}
body.apple-home .ux-application-dialog .cta-form-enhanced{background:#f5f5f7;border:0;border-radius:20px;padding:24px}
body.apple-home .ux-application-dialog .form-wizard-progress{margin-bottom:24px}
body.apple-home .ux-application-dialog :is(input,select,textarea){border-radius:12px}
/* Shared disclosure navigation: link hierarchy, generous targets and no focus trap. */
body .site-header__menu{width:min(760px,calc(100% - var(--site-shell-gutter)*2));left:auto;right:var(--site-shell-gutter);padding:24px;border-radius:24px;box-sizing:border-box;max-height:calc(100dvh - 160px)}
body .site-header__menu-nav{display:block}
body .site-header__menu-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:4px 24px;padding:0;margin:0;counter-reset:navigation}
body .site-header__menu-list>li{min-width:0;list-style:none}
body .site-header__menu-list>li:nth-child(-n+7) .site-header__menu-link{font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.5;padding:14px 10px;border-bottom:1px solid #ededf0;border-radius:0;justify-content:space-between;gap:12px}
body .site-header__menu-list>li:nth-child(-n+7) .site-header__menu-link::after{content:'↗';color:#86868b;font-size:17px}
body .site-header__menu-list>li:last-child{grid-column:1/-1;margin-top:12px}
body .site-header__menu-list .site-header__menu-link--cta{border-radius:24px;justify-content:center;min-height:48px}
body .site-header__menu-list .site-header__menu-link[aria-current]{color:#0071e3;background:#f0f7ff}
body .site-header__toggle:hover{background:#f5f5f7}
/* Real page hierarchy on product pages; separators remain decorative. */
body .service-breadcrumb{padding-block:16px;font-size:12px;color:#6e6e73}
body .service-breadcrumb ol{gap:8px 12px}
body .service-breadcrumb li{gap:12px;min-width:0}
body .service-breadcrumb li+li::before{content:'›';color:#a1a1a6;font-size:16px}
body .service-breadcrumb a{text-decoration:none;color:#6e6e73}
body .service-breadcrumb a:hover{color:#0071e3;text-decoration:underline}
body .service-breadcrumb [aria-current]{color:#1d1d1f;font-weight:500}
@media(max-width:768px){
 body.apple-home .motion-section-nav>.service-shell{gap:24px;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 body.apple-home .motion-section-nav>.service-shell::-webkit-scrollbar{display:none}
 body.apple-home #design-examples .lp-layout-grid{gap:16px}
 body.apple-home #design-examples .lp-layout-example{flex-basis:78%}
 body.apple-home #design-examples .motion-preview{border-radius:20px}
 body.apple-home #design-examples .lp-layout-number{display:inline}
 body.apple-home #design-examples .motion-gallery-toolbar{margin-bottom:16px}
 body.apple-home #how-it-works .process-grid{grid-template-columns:1fr}
 body.apple-home main#main-content #how-it-works .process-grid>article{padding:24px}
 body.apple-home #how-it-works .motion-flow-icon{float:right;margin:0 0 12px 16px}
 body .motion-design-dialog{padding:20px;border-radius:24px}
 body .motion-design-dialog>header{top:-20px}
 body .motion-design-dialog footer{flex-direction:column;align-items:stretch;gap:16px}
 body .motion-design-dialog .motion-design-consult{width:100%}
 body.apple-home .ux-application-dialog{padding:18px;border-radius:24px}
 body.apple-home .ux-application-dialog>header{top:-18px}
 body.apple-home .ux-application-dialog .cta-form-enhanced{padding:18px}
 body.qr-product-page .qr-flow-block.motion-flow{padding:24px}
}
@media(max-width:520px){body .site-header__menu{padding:18px;max-height:calc(100dvh - 150px)}body .site-header__menu-list{grid-template-columns:1fr}body .site-header__menu-list>li:nth-child(-n+7) .site-header__menu-link{font-size:19px;padding:11px 8px}}
@media(prefers-reduced-motion:reduce){
 body .motion-title,body .motion-title>span{animation:none!important;transform:none!important;opacity:1!important}
 body .motion-flow *,body .site-header__menu *,body .motion-design-dialog,body.apple-home main :is(a,button,span){animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

@media(max-width:520px){body.apple-home .motion-section-nav>.service-shell{gap:12px}body.apple-home .motion-section-nav a{font-size:11px}body.apple-home #design-examples .motion-preview{padding:8px}}

@media(max-width:520px){body.apple-home main#main-content .motion-design-dialog h2{font-size:22px!important;text-wrap:pretty;letter-spacing:-.02em}}

/* Readable stages: connected horizontally on wide screens, compact timeline on phones. */
body.service-site.apple-home main#main-content #how-it-works .process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.service-site.apple-home main#main-content #how-it-works .process-grid>article{position:relative;padding:26px;border-radius:20px;min-height:220px;box-sizing:border-box}
body.service-site.apple-home main#main-content #how-it-works .process-grid h3{font-size:21px!important;line-height:1.5!important;margin:14px 0 12px}
body.service-site.apple-home main#main-content #how-it-works .process-grid p{font-size:15px!important;line-height:1.8!important;margin:0;color:#626267}
body.service-site.apple-home #how-it-works .motion-flow-icon{float:right;width:32px;height:32px;margin:0 0 12px 16px}
body.service-site.apple-home #how-it-works .step-number{font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.08em}
body.service-site.apple-home #how-it-works .motion-flow-rail{margin-bottom:24px;background:#dce4ed}
body.service-site.apple-home #how-it-works .motion-flow-rail>span{transform:scaleX(0);transition:transform 450ms ease-out}
body.service-site.apple-home #how-it-works [data-flow-state=complete] .motion-flow-rail>span{transform:scaleX(1)}
body.service-site .site-header__menu:not([hidden]){animation:motion-panel-enter 180ms ease-out}
@keyframes motion-panel-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
body.service-site .site-header__menu-link::after{transition:transform 180ms ease-out}
body.service-site .site-header__menu-link:hover::after{transform:translate(2px,-2px)}
body.service-site .service-breadcrumb ol{display:flex;flex-wrap:wrap;row-gap:4px}
body.service-site .service-breadcrumb a{min-height:44px;display:inline-flex;align-items:center}
body.apple-home #design-examples .motion-preview{transition:background-color 180ms ease-out}
body.apple-home #design-examples .motion-preview:hover{background:#f0f2f5}
body.apple-home .motion-design-dialog[open]{animation:motion-panel-enter 200ms ease-out}
body.apple-home .motion-design-dialog footer{gap:20px}
@media(max-width:768px){
 body.service-site.apple-home main#main-content #how-it-works .process-grid{grid-template-columns:1fr;gap:16px;border-left:2px solid #dbe7f5;margin-left:7px;padding-left:20px}
 body.service-site.apple-home main#main-content #how-it-works .process-grid>article{min-height:0;padding:22px;border-radius:18px}
 body.service-site.apple-home main#main-content #how-it-works .process-grid>article::before{content:'';position:absolute;left:-28px;top:28px;width:10px;height:10px;border:2px solid #f5f5f7;border-radius:50%;background:#9db7d4}
 body.service-site.apple-home main#main-content #how-it-works .process-grid>.motion-step-done::before{background:#0071e3}
 body.service-site.apple-home main#main-content #how-it-works .process-grid h3{font-size:20px!important;margin:10px 0 8px}
 body.service-site.apple-home main#main-content #how-it-works .process-grid p{font-size:14px!important;line-height:1.75!important}
 body.service-site.apple-home #how-it-works .motion-flow{margin-top:24px}
 body.service-site.apple-home #how-it-works .motion-flow-rail{display:none}
}
@media(prefers-reduced-motion:reduce){body.service-site .site-header__menu:not([hidden]),body.apple-home .motion-design-dialog[open]{animation:none}body.service-site.apple-home #how-it-works .motion-flow-rail>span,body.service-site .site-header__menu-link::after{transition:none}}

/* Cross-document navigation: keep native links, history and scroll restoration. */
@view-transition{navigation:auto}
.site-header{view-transition-name:site-navigation}
::view-transition-old(root){animation:page-navigation-out 120ms ease both}
::view-transition-new(root){animation:page-navigation-in 220ms cubic-bezier(.2,.7,.2,1) both}
::view-transition-group(site-navigation){animation-duration:220ms}
@keyframes page-navigation-out{to{opacity:0}}
@keyframes page-navigation-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 ::view-transition-old(root),::view-transition-new(root),::view-transition-group(site-navigation){animation:none}
}

/* Keep the five-screen detail view within the dialog at every viewport width. */
body .motion-design-viewer{width:100%;max-width:100%;min-width:0}
body .motion-design-dialog>header>div{flex:1;min-width:0;max-width:100%;overflow-wrap:anywhere}
body .motion-design-dialog>header h2{overflow-wrap:anywhere;text-wrap:balance}
body .motion-design-figure{width:min(100%,420px);max-width:100%;min-width:0;margin:0 auto 12px;overflow:hidden}
body .motion-design-image{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:1122/1402;object-fit:contain;margin-inline:auto}
body .motion-design-screen-title{margin-top:10px;text-align:center;overflow-wrap:anywhere}
body .motion-design-controls{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:center;gap:10px;width:100%;max-width:100%;min-width:0;margin-top:16px}
body .motion-design-thumbnails{display:flex;gap:8px;width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
body .motion-design-thumbnail{display:block;flex:0 0 54px;width:54px;min-width:0;aspect-ratio:54/68;overflow:hidden;padding:0;border:1px solid #d5d5da;border-radius:8px;background:#fff;scroll-snap-align:start}
body .motion-design-thumbnail[aria-current]{border-color:#0071e3;box-shadow:0 0 0 2px #0071e326}
body .motion-design-thumbnail img{display:block;width:100%;max-width:100%;height:100%;aspect-ratio:54/68;object-fit:cover}
@media(max-width:600px){body .motion-design-dialog{width:calc(100vw - 16px);max-height:92dvh;padding:16px;border-radius:20px}body .motion-design-dialog>header{top:-16px;gap:12px}body .motion-design-dialog footer{align-items:stretch;flex-direction:column;gap:12px;padding-top:14px}body .motion-design-dialog .motion-design-note{max-width:100%;overflow-wrap:anywhere}body .motion-design-dialog .motion-design-consult{width:100%}body .motion-design-controls{grid-template-columns:40px minmax(0,1fr) 40px;gap:8px}body .motion-design-controls .motion-round-button{width:40px;min-width:40px;height:40px;min-height:40px}}

/* Section navigation is visually separate from the main site navigation. */
body.apple-home .motion-section-nav{background:#fbfcfe;backdrop-filter:none;border-bottom:1px solid #e5ebf2}
body.apple-home .motion-section-nav>.service-shell{min-height:56px;gap:8px;justify-content:center}
body.apple-home .motion-section-nav a{min-height:40px;margin:7px 0;padding:8px 18px;box-sizing:border-box;border:1px solid transparent;border-radius:10px;font-size:12px;color:#53657a;font-weight:550}
body.apple-home .motion-section-nav a:hover{background:#f0f5fb;border-color:transparent;color:#164b9b}
body.apple-home .motion-section-nav a[aria-current]{background:#eaf2fd;color:#164b9b;border-color:#dae7f8;font-weight:650}
body.apple-home .motion-section-nav a:focus-visible{outline:2px solid #164b9b;outline-offset:2px}
@media(max-width:520px){body.apple-home .motion-section-nav>.service-shell{justify-content:flex-start;gap:6px}body.apple-home .motion-section-nav a{padding-inline:14px;min-height:44px;margin-block:6px}}

/* A concise three-step project flow, readable without motion. */
body.service-site.apple-home main#main-content #how-it-works{background:#fff;padding-block:64px}
body.service-site.apple-home #how-it-works .motion-flow{margin-top:28px}
body.service-site.apple-home #how-it-works .motion-flow-rail{display:none}
body.service-site.apple-home main#main-content #how-it-works .process-grid{gap:18px}
body.service-site.apple-home main#main-content #how-it-works .process-grid>article{min-height:230px;padding:26px;border:1px solid #dfe7f0;border-radius:16px;background:#fff;box-shadow:none}
body.service-site.apple-home #how-it-works .step-number{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;box-sizing:border-box;border-radius:50%;background:#164b9b;color:#fff;font-size:12px;font-weight:650;letter-spacing:.03em}
body.service-site.apple-home #how-it-works .motion-flow-icon{position:absolute;right:26px;top:26px;float:none;width:32px;height:32px;margin:0;stroke:#164b9b}
body.service-site.apple-home main#main-content #how-it-works .process-grid h3{margin:24px 0 12px;font-size:20px!important;line-height:1.5!important;color:#193b69}
body.service-site.apple-home main#main-content #how-it-works .process-grid p{font-size:14px!important;line-height:1.85!important;color:#52647a}
@media(max-width:768px){
 body.service-site.apple-home main#main-content #how-it-works{padding-block:44px}
 body.service-site.apple-home main#main-content #how-it-works .process-grid{margin-left:0;padding-left:0;border-left:0;gap:12px}
 body.service-site.apple-home main#main-content #how-it-works .process-grid>article{min-height:0;padding:22px}
 body.service-site.apple-home main#main-content #how-it-works .process-grid>article::before{display:none}
 body.service-site.apple-home #how-it-works .motion-flow-icon{top:24px;right:22px}
 body.service-site.apple-home main#main-content #how-it-works .process-grid h3{margin-top:18px;font-size:19px!important}
}
body.service-site.apple-home main#main-content #how-it-works .step-number{display:inline-flex;width:36px;height:36px;margin:0;background:#164b9b!important;color:#fff;border-radius:50%;border:0;padding:0;align-items:center;justify-content:center}
