/* Shared layout density and illustrated controls. See DESIGN.md. */
.mbti-site{--paper:#faf7ee;--ink:#304b40;--muted:#647163;--green:#315c4e;--line:#d8dfd1;background-color:var(--paper);background-image:radial-gradient(#aa997416 .65px,transparent .8px);background-size:7px 7px;word-break:keep-all}
.mbti-site .site-header{max-width:1180px;padding:16px 24px;gap:14px}.mbti-site .wordmark{font-size:23px}.mbti-site .brand-links{gap:8px;flex-wrap:wrap}.mbti-site .brand-links a{padding:9px 12px;font-size:13px;border:1px solid var(--line);border-radius:24px;background:#fffdf7;text-decoration:none;min-height:40px}
.mbti-site .primary{background:#315c4e;color:#fffef9;border-color:#315c4e;border-radius:12px;box-shadow:0 3px 0 #203e33;min-height:48px;padding:12px 18px;line-height:1.5}.mbti-site .primary:hover{background:#3c6a58;color:#fffef9;transform:none}.mbti-site .secondary{border-radius:12px;background:#fffdf7;color:var(--ink);min-height:44px;padding:10px 16px;line-height:1.5}.mbti-site button,.mbti-site input,.mbti-site textarea{font-family:var(--sans)}
.meaning-icon{display:inline-block;width:34px;height:34px;object-fit:contain;vertical-align:middle;margin-right:9px;flex:none}.primary>.meaning-icon,.secondary>.meaning-icon{width:28px;height:28px;pointer-events:none}.has-meaning-icon{overflow-wrap:break-word}.shop-clip-chapters button>.meaning-icon{grid-row:1/3;width:46px;height:46px;margin:0}.shop-clip-chapters button{grid-template-columns:46px minmax(0,1fr)}.shop-clip-chapters button>span{grid-column:2;grid-row:auto;font-size:11px}.shop-clip-chapters button strong,.shop-clip-chapters button small{grid-column:2}.shop-clip-chapters button small{font-size:12px}.shop-clip-chapters button>span~strong{grid-row:2}.shop-clip-chapters button small{grid-row:3}
.mbti-site .software-shop{max-width:1180px;padding:24px 24px 36px;line-height:1.75}.shop-heading{max-width:none;margin-bottom:20px}.shop-heading h1{font-size:36px;margin:6px 0 10px;line-height:1.4}.shop-heading h1 br{display:none}.shop-heading p{font-size:15px}.shop-heading .eyebrow{margin-bottom:5px}.shop-notice{margin:14px 0;padding:12px 16px}.shop-showcase{margin:26px 0;padding-top:24px}.shop-section-heading{max-width:none;margin-bottom:18px}.shop-section-heading h2,.shop-faq h2{font-size:27px;margin:4px 0 8px}.shop-section-heading .eyebrow{margin-bottom:4px}.shop-video-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:center}.shop-video-layout video{width:100%;max-height:360px;aspect-ratio:1;object-fit:contain;background:#fffdf7}.shop-video-copy h3{font-size:25px;margin-bottom:10px}.shop-video-copy>p{margin:0 0 14px}.shop-video-copy h3 br{display:none}.shop-clip-chapters{gap:8px}.shop-clip-chapters button{padding:10px 14px}.shop-video-copy .software-detail{margin:12px 0 0}.shop-choice-guide{margin:24px 0 18px}.shop-choice-guide h2{font-size:26px;margin:6px 0}.shop-choice-options{gap:14px;margin-top:14px}.shop-choice-options a{padding:14px 18px;gap:3px}.shop-choice-options strong{font-size:21px}.software-grid{gap:18px}.software-art{height:175px;padding:12px;background:#f1f3e8}.software-art img{max-width:190px}.software-card{border-radius:18px}.software-card-body{padding:20px}.software-card h2{font-size:25px;margin:4px 0 8px}.software-card p{margin-bottom:12px}.software-features{margin-bottom:14px;line-height:1.8}.software-meta{margin:10px 0}.software-price strong{font-size:26px}.software-card .primary{margin-top:12px}.software-card .software-detail{margin:12px 0}.shop-scene-grid{gap:14px}.shop-scene>a{min-height:0;padding:14px}.shop-scene img{height:235px}.shop-scene>div{padding:16px}.shop-scene h3{font-size:19px}.shop-pet-actions{gap:12px}.shop-pet-actions article{padding:14px}.shop-pet-motion{max-width:180px;margin:auto}.shop-pet-actions h3{font-size:18px;margin:8px 0}.shop-pet-room{margin-top:18px;gap:22px}.shop-pet-room .shop-scene img{height:280px}.shop-pet-explain h3{font-size:25px;margin:0 0 12px}.shop-pet-explain li{padding:10px 0}.shop-friend-grid{gap:9px}.shop-friend-grid figure{padding:8px 4px}.shop-compare th,.shop-compare td{padding:12px}.shop-faq details{padding:12px 0}.shop-how{margin-top:24px;padding:16px 0}.shop-checkout{gap:22px}.shop-payment{padding:22px}.shop-order h1{font-size:30px}
.mbti-site .result-page{max-width:1020px;margin:20px auto 0;padding:0 24px}.mbti-site .result-heading{margin-bottom:14px}.mbti-site .result-heading .eyebrow{margin-bottom:5px}.mbti-site .result-heading p{margin:0}.mbti-site .result-page .result-hero{padding:20px 26px;gap:12px 20px;min-height:0;background:#fffef9;background-image:none;box-shadow:0 4px 0 #e6e8dc;border-color:#d8dfd1}.mbti-site .result-page .result-hero::before{border-color:#ddd5c6}.result-letter-top{padding-bottom:10px;font-size:14px}.result-letter-top .letter-heading::before{display:none}.letter-picture-stamp img{background:none;border:0;padding:0}.mbti-site .result-page .result-animal{min-height:0;padding:0}.mbti-site .result-page .result-animal::before{display:none}.mbti-site .result-page .animal-art{max-width:100%}.mbti-site .result-page .result-intro h1{font-size:36px;margin:5px 0 8px}.mbti-site .result-page .result-title{font-size:19px;line-height:1.6}.mbti-site .result-page .result-type{background:#e8eee0;color:#315c4e}.mbti-section{margin-top:22px}.section-heading{margin-bottom:12px}.section-heading h2{font-size:22px}.result-page .mbti-summary{margin:12px 0 14px;font-size:15px;line-height:1.8}.mbti-profile{margin-top:14px}.mbti-profile-grid{gap:12px}.mbti-profile-grid .profile-story-card{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:14px}.mbti-profile-grid .profile-story-copy h3{font-size:18px}.mbti-profile-grid .profile-story-copy>p{font-size:14px}.result-gift-bundle{margin:24px 0;padding:24px;background:#fffdf7;border-radius:16px}.gift-bundle-heading{padding:0 76px 14px 0;margin-bottom:16px}.gift-bundle-heading h2{font-size:26px;line-height:1.5;margin:5px 0 8px}.gift-bundle-heading h2 br,.gift-bundle-heading>p br{display:none}.gift-bundle-heading>p{font-size:14px;margin:0;line-height:1.8}.stationery-bunny{width:70px;height:70px}.gift-bundle-layout{gap:22px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center}.gift-illustration-stage{max-width:300px;margin:auto}.gift-bundle-art .gift-result-preview{max-width:none;margin:0 0 12px;padding:14px}.gift-bundle-content{padding-top:0}.gift-package-list{gap:8px}.gift-package-list>li{padding:10px 0}.gift-package-list strong{font-size:17px}.gift-package-list p{font-size:14px}.chemistry-promo,.share-section,.letter-message{margin:20px 0;padding:20px}.mbti-site .letter-message{background:#fffdf7}.mbti-site .answer-recap:nth-child(n),.mbti-site .taste-item{background:#fffef9}.illustrated-report-group{margin:14px 0}.illustrated-answer{gap:18px;padding:18px 0}.restart-section{margin:20px 0}
.gift-site .site-header,.gift-site .gift-shell,.gift-site .gift-quick-link{max-width:1180px;padding-inline:24px}.gift-site .gift-shell{padding-top:20px;padding-bottom:28px;min-height:0}.gift-site .gift-gallery-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;align-items:center}.gift-site .gift-visuals{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:12px}.gift-site .gift-hero-frame{min-height:310px;background:#fffef9;background-image:none}.gift-site .gift-hero-image,.gift-site .gift-hero-frame .gift-motion{width:min(94%,300px)}.gift-site .gift-action-card img{height:116px}.gift-site .gift-details{padding:22px}.gift-site .gift-details h1{font-size:32px;line-height:1.5;margin:8px 0 12px}.gift-site .gift-details .lead{font-size:15px;margin-bottom:14px}.gift-site .gift-steps{gap:16px;margin:0 0 16px}.gift-site .gift-recipient-prompt{margin-bottom:16px;padding:14px 18px;gap:10px}.gift-site .gift-other{margin-top:24px;padding-top:20px}.gift-site .gift-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:16px 0}.gift-site .gift-choice{padding:12px 5px}.gift-site .gift-choice[aria-pressed=true]{padding:11px 4px}.gift-site .gift-choice img{max-width:80px;height:auto}.gift-site .gift-choice small{font-size:12px}.gift-site .gift-letter{padding:24px}.gift-site .gift-layout:not(.gift-gallery-layout){gap:24px}.gift-site .gift-form{gap:16px}.gift-site .gift-form textarea{min-height:160px}.gift-price-visible{display:flex;align-items:center;gap:10px;margin:8px 0 16px;font-size:14px}.gift-price-visible strong{font-size:23px;color:var(--green)}
.mbti-site .merchant-footer{max-width:1180px;margin:auto;padding:22px 24px;font-size:13px;line-height:1.8;grid-template-columns:minmax(0,1fr) auto}.merchant-footer>div{grid-column:1/-1;min-width:0}.merchant-footer a{display:inline;overflow-wrap:anywhere}.mbti-site #app{min-height:0}
@media(max-width:760px){.mbti-site .site-header{padding:14px 18px;flex-wrap:wrap;justify-content:center;gap:10px}.mbti-site .brand-links{justify-content:center;gap:6px}.mbti-site .brand-links a{font-size:12px;padding:8px 10px}.meaning-icon{width:30px;height:30px;margin-right:7px}.mbti-site .software-shop{padding:20px 18px 28px}.shop-heading h1{font-size:29px}.shop-video-layout{grid-template-columns:minmax(0,1fr);gap:16px}.shop-video-layout video{max-height:340px}.shop-video-copy h3{font-size:23px}.shop-showcase{margin:24px 0;padding-top:20px}.shop-section-heading h2,.shop-faq h2{font-size:24px}.shop-section-heading p{font-size:14px}.shop-choice-options{gap:12px}.software-art{height:145px}.software-card-body{padding:18px}.shop-scene-grid{grid-template-columns:minmax(0,1fr)}.shop-scene{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.shop-scene img{height:230px}.shop-scene>div{padding:14px}.shop-pet-room{grid-template-columns:minmax(0,1fr)}.shop-pet-room .shop-scene{display:block}.shop-pet-actions article{padding:12px}.shop-pet-motion{max-width:155px}.shop-compare th,.shop-compare td{padding:10px 7px}.mbti-site .result-page{padding:0 18px;margin-top:18px}.mbti-site .result-page .result-hero{padding:20px;gap:14px}.mbti-site .result-page .result-animal{max-width:240px;width:100%;justify-self:center}.mbti-site .result-page .result-intro h1{font-size:32px}.mbti-profile-grid .profile-story-card{grid-template-columns:90px minmax(0,1fr);padding:12px;gap:12px}.mbti-profile-grid .profile-story-copy h3{font-size:17px}.section-heading h2{font-size:20px}.result-gift-bundle{padding:20px 16px}.gift-bundle-heading{padding:0 55px 12px 0}.gift-bundle-heading h2{font-size:23px}.stationery-bunny{width:52px;height:52px;left:auto;right:0;top:0;transform:none}.gift-bundle-layout{grid-template-columns:minmax(0,1fr);gap:16px}.gift-bundle-art{width:100%;max-width:360px}.gift-illustration-stage{max-width:220px}.gift-bundle-art .gift-result-preview{padding:12px}.chemistry-promo,.share-section,.letter-message{padding:18px}.gift-site .gift-shell,.gift-site .gift-quick-link{padding-inline:18px}.gift-site .gift-gallery-layout{grid-template-columns:minmax(0,1fr);gap:16px}.gift-site .gift-hero-frame{min-height:240px}.gift-site .gift-hero-image,.gift-site .gift-hero-frame .gift-motion{width:min(90%,240px)}.gift-site .gift-action-card img{height:95px}.gift-site .gift-details{padding:18px}.gift-site .gift-details h1{font-size:28px}.gift-site .gift-recipient-prompt{grid-template-columns:minmax(0,1fr)}.gift-site .gift-recipient-prompt input{grid-column:auto;grid-row:auto}.gift-site .gift-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gift-site .gift-layout:not(.gift-gallery-layout){grid-template-columns:minmax(0,1fr);gap:18px}.gift-site .gift-letter{padding:22px 18px}.mbti-site .merchant-footer{padding:20px 18px;grid-template-columns:minmax(0,1fr)}.merchant-footer>a,.merchant-footer>span{grid-column:1;justify-self:start}}
@media(max-width:380px){.mbti-site .site-header{padding-inline:14px}.mbti-site .brand-links a{padding:7px 8px;font-size:11px}.mbti-profile-grid .profile-story-card{grid-template-columns:76px minmax(0,1fr);gap:9px}.shop-scene{display:block}.shop-scene img{height:250px}.gift-site .gift-visuals{grid-template-columns:minmax(0,1fr)}.gift-site .gift-action-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.gift-site .gift-action-card{padding:5px}.gift-site .gift-action-card img{height:64px}.gift-site .gift-action-card span{font-size:11px}.gift-bundle-heading h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.mbti-site *, .mbti-site *::before,.mbti-site *::after{scroll-behavior:auto;transition:none;animation:none}}
.mbti-site .home-start{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);max-width:1180px;margin:auto;padding:20px 24px;gap:18px 24px;align-items:center}.home-start>.home-invitation{grid-column:1;grid-row:1;max-width:480px;width:100%;margin:0;align-self:center}.home-start>.home-invitation img{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1;object-fit:contain}.home-start>.home-copy-panel{grid-column:2;grid-row:1;gap:14px;align-self:center}.home-start .home-intro h1{font-size:36px;line-height:1.45;margin:8px 0}.home-start .home-intro .lead{font-size:14px;line-height:1.8;margin-bottom:8px}.home-start .meta-pills{margin-top:10px}.mbti-site .home-start .start-fields{padding:18px 20px;box-shadow:0 3px 0 #e7e9dc}.home-letter-icon{width:58px;height:58px;margin:-6px 0 0 8px}.home-name-prompt{font-size:19px;padding:0;margin-bottom:12px}.home-start .field-note,.home-name-reminder{font-size:12px;line-height:1.7;margin:8px 0}.home-start-fields input{min-height:46px}.home-start-fields .primary{margin-top:10px}.home-start>.home-howto{grid-column:1/-1;grid-row:2;gap:10px}.home-howto span{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 12px;text-align:left;font-size:13px;background:#fffef9}.home-howto img{width:36px;height:36px;margin:0}.home-howto b{margin:0;font-size:13px}.mbti-site .pet-test-banner{max-width:1132px;margin:0 auto 20px;padding:16px 20px;gap:16px;background:#eef1e6;box-shadow:none;border-radius:14px}.pet-test-copy strong{font-size:19px;line-height:1.6}.pet-test-copy p{margin:5px 0;font-size:13px;line-height:1.8}.pet-test-label{font-size:12px}.pet-test-link{padding:12px 18px;min-height:46px;font-size:14px}.brand-links .meaning-icon{width:22px;height:22px;margin-right:5px}.brand-links a{display:inline-flex;align-items:center}.shop-choice-options a.has-meaning-icon{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:10px}.shop-choice-options a>.meaning-icon{grid-column:1;grid-row:1/4;margin:0}.shop-choice-options a>strong,.shop-choice-options a>span,.shop-choice-options a>small{grid-column:2}
@media(max-width:760px){.mbti-site .home-start{display:grid;grid-template-columns:minmax(0,1fr);padding:16px 18px;gap:16px}.home-start>.home-invitation{grid-column:1;grid-row:1;max-width:330px;justify-self:center}.home-start>.home-copy-panel{grid-column:1;grid-row:2;gap:12px}.home-start .home-intro{ text-align:center}.home-start .home-intro h1{font-size:29px}.home-start .meta-pills{justify-content:center}.home-start>.home-howto{grid-column:1;grid-row:3;gap:6px}.home-howto span{display:flex;flex-direction:column;gap:3px;padding:8px 4px;text-align:center;font-size:11px}.home-howto b{display:none}.home-howto img{width:32px;height:32px}.mbti-site .pet-test-banner{margin:0 18px 20px;padding:14px;display:flex;flex-direction:column;align-items:stretch;gap:10px}.pet-test-copy strong{font-size:17px}.pet-test-link{justify-content:center}.brand-links .meaning-icon{width:18px;height:18px}.home-name-prompt{font-size:18px}}
@media(max-width:760px){.mbti-site .result-page .result-animal{width:160px;height:160px;max-width:160px}.mbti-site .result-page .result-animal img{width:160px;height:160px;object-fit:contain}.mbti-site .result-page .result-hero{gap:12px;padding:16px}.mbti-site .result-intro .concept{margin:10px 0 0;font-size:14px;line-height:1.7}.mbti-site .result-intro .result-title{margin:8px 0;font-size:16px;line-height:1.6}.mbti-site .result-intro h1{margin:4px 0;font-size:29px}.mbti-site .result-letter-top{min-height:40px;padding-bottom:6px}.mbti-site .result-letter-top img{width:35px;height:40px}.home-start>.home-invitation{max-width:290px}.home-start .home-intro h1{font-size:27px;line-height:1.4}.home-start .home-intro .lead{font-size:13px}.home-start .home-intro .eyebrow{margin:4px 0}.mbti-site .home-start{gap:12px}}
@media(max-width:760px){.mbti-site .site-header{flex-direction:column;align-items:center}.mbti-site .brand-links{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;width:100%;max-width:410px}.mbti-site .brand-links a{min-height:36px}.software-shop .shop-heading{padding:0;margin:0 0 16px}.software-shop .shop-heading h1{margin:8px 0;line-height:1.5}.software-shop .shop-heading p{margin:6px 0;line-height:1.7}}
.gift-site .gift-choice img{width:min(80px,100%);max-width:100%;height:auto}.gift-site .site-header nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.gift-site .site-header nav a{display:inline-flex;align-items:center;gap:4px;padding:8px 10px;border:1px solid var(--line);border-radius:22px;background:#fffdf7;font-size:13px;line-height:1.5}.gift-site .site-header nav .meaning-icon{width:22px;height:22px;margin:0}.mate-page .mate-shell{max-width:1180px;margin:auto}.mate-page .mate-section{padding-block:24px}.mate-page .mate-hero{padding-block:24px;gap:24px;min-height:0}
@media(max-width:760px){.gift-site .site-header nav{justify-content:center;width:100%;gap:6px}.gift-site .site-header nav a{font-size:11px;padding:7px 8px}.gift-site .site-header nav .meaning-icon{width:18px;height:18px}}
