/* iOS showcase: the actual brand, native screenshot ratios and game artwork. */
:root {
  --paper: #f7f4ec;
  --ink: #302b46;
  --muted: #6d6977;
  --accent: #8d6b37;
  --lime: #f6da8b;
  --line: #ded9d0;
  --night: #18152e;
  --header: 88px;
}
.site-header { background: #17142af2; color: #f8f3e4; border-color: #c5bbd222; }
.brand { gap: 12px; letter-spacing: -.025em; }
.brand .brand-mark, .legal-page .brand .brand-mark { width: 42px; height: 62px; object-fit: contain; }
.brand-name { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 500; white-space: nowrap; }
.brand-name > span { color: #f0d385; }
.site-header .button { background: #f3d888; color: #262136; }
.desktop-nav a:hover { color: #f3d888; }
.site-header .menu-toggle { border-color: #e9dfff44; }
.site-header .menu-toggle span { background: #f8f1dc; }
.mobile-nav { background: #211b38; color: #f8f1dc; border-color: #e9dfff33; }
.mobile-nav a { border-color: #e9dfff22; }
.site-footer .brand-name > span { color: var(--accent); }
.button:not(.button-light):hover { background: #4c3d68; }
.site-header .button:hover { background: #ffe8a6; }
.button-light:hover { background: #ffe5a1; }
.status-dot { background: #9a7d43; box-shadow: 0 0 0 4px #9a7d4312; }
.text-link { border-color: #b4a88d; }
.text-link:hover { color: #795c35; border-color: #795c35; }
.section-number { color: #8d744f; }
.promise-band { background: #e7dcc2; color: #51432b; border-bottom: 1px solid #d6c8aa; }
.promise-band svg { color: #8d7446; }
.form-msg.ok { background: #e4eccf; }
.menu-toggle span { transition: transform .2s; }

/* The opening is composed in separate planes, with real iOS imagery in front. */
.opening-ios { background: #19142c; color: #fcf6e6; isolation: isolate; }
.opening-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .68; }
.opening-ios::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #17122ede 0%, #17122e97 45%, #17122e0f 85%), linear-gradient(0deg, #18132ed9, transparent 55%); }
.opening-ios .opening-inner { grid-template-columns: 1fr 1.13fr; min-height: 750px; gap: 25px; padding-top: 45px; padding-bottom: 35px; }
.opening-ios h1 { font-size: clamp(4rem, 5.9vw, 6.1rem); letter-spacing: -.045em; }
.opening-ios h1 em { color: #f5d68a; }
.opening-ios .eyeline { color: #ecddb9; font-size: .72rem; }
.opening-ios .status-dot { background: #f0d58d; box-shadow: 0 0 0 4px #f0d58d12; }
.opening-ios .intro { color: #d3cce0; max-width: 370px; font-size: 1.06rem; }
.opening-ios .text-link { color: #f0e8f4; border-color: #bba6c977; }
.opening-ios .hero-beta { color: #c2b5d0; }
.opening-ios .opening-bottom { border-color: #ecddff22; color: #d8cde6; margin-bottom: 0; }
.opening-ios .motion-toggle { color: #c2b5d0; }
.hero-composition { position: relative; min-width: 0; height: 605px; isolation: isolate; }
.hero-orbit { position: absolute; inset: 4% -2% 2% -1%; border: 1px solid #dac7a82e; border-radius: 50%; transform: rotate(-15deg); z-index: -1; }
.hero-orbit::after { content: ''; position: absolute; inset: 22px; border: 1px dashed #dac7a829; border-radius: 50%; }
.hero-artwork { position: absolute; top: 24px; left: 1%; width: 102%; border: 1px solid #d4c4ab5e; border-radius: 17px; overflow: hidden; transform: rotate(-7deg); box-shadow: 0 30px 70px #07061560; }
.hero-artwork > img { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; transform: scale(1.025) translate(var(--pointer-x, 0px), var(--pointer-y, 0px)); transition: transform .35s ease-out; }
.hero-artwork figcaption { position: absolute; top: 12px; left: 14px; font-size: .6rem; color: #e1e8fa; background: #07111ec9; border-radius: 20px; padding: 5px 10px; letter-spacing: .025em; }
.screen-landscape { display: block; width: 100%; position: relative; background: #100d20; border: 7px solid #292237; padding: 0; border-radius: 17px; overflow: hidden; box-shadow: 0 20px 45px -25px #18142b70; text-align: left; }
.screen-landscape > img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 886; object-fit: contain; }
.screen-landscape:hover, .phone-capture:hover { border-color: #6d5a89; }
.screen-expand, .phone-expand { display: grid; place-items: center; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; color: #f6de99; background: #141025cf; border: 1px solid #f6de9966; border-radius: 50%; font-size: 22px; }
.hero-ios-screen { position: absolute; width: 102%; right: -5%; bottom: 49px; transform: rotate(4deg); z-index: 3; border-width: 7px; padding-bottom: 32px; box-shadow: 0 30px 50px -15px #05040bb0; }
.screen-badge { position: absolute; bottom: 7px; left: 13px; right: 13px; display: flex; align-items: center; gap: 8px; color: #eee6fb; font-size: .62rem; }
.screen-badge i { display: block; width: 5px; height: 5px; background: #b4ddb7; border-radius: 50%; }
.screen-badge > span:last-child { margin-left: auto; font-size: 18px; line-height: 1; }
.hero-pistache { position: absolute; left: -58px; bottom: 12px; width: 180px; height: 180px; object-fit: contain; z-index: 5; filter: drop-shadow(0 15px 13px #0005); pointer-events: none; }
.hero-shield { position: absolute; right: -44px; top: -30px; width: 150px; height: 150px; object-fit: contain; transform: rotate(16deg); filter: drop-shadow(0 12px 13px #0004); z-index: 4; pointer-events: none; }
.hero-whisper { position: absolute; bottom: -10px; right: 21px; color: #e9d696; font-family: Fraunces, Georgia, serif; font-size: .98rem; line-height: 1.4; transform: rotate(-4deg); }
.hero-composition [data-depth] { translate: 0 var(--depth-y, 0px); will-change: translate; }

/* A landscape interface and a portrait interface live at their actual ratios. */
.ios-intro { padding-bottom: 65px; }
.ios-intro-stage { position: relative; display: grid; grid-template-columns: .75fr 1.5fr; gap: 50px; align-items: center; min-height: 560px; padding: 45px 160px 40px 0; }
.ios-intro-copy { position: relative; z-index: 1; }
.little-label { display: block; font-size: .67rem; letter-spacing: .07em; text-transform: uppercase; color: #8b6d44; margin-bottom: 18px; }
.ios-intro-copy h3 { font-size: 1.8rem; line-height: 1.2; }
.ios-intro-copy > p { font-size: .91rem; margin: 20px 0; }
.ios-intro-copy .text-link { font-size: .81rem; }
.intro-landscape { position: relative; z-index: 2; transform: rotate(-4deg); }
.intro-landscape figcaption, .care-section figcaption, .school-ios-images figcaption { font-size: .73rem; color: #7c7281; margin-top: 15px; }
.intro-landscape::before { content: ''; position: absolute; inset: -65px -50px; background: #e8e0ef; border-radius: 50%; z-index: -1; }
.phone-capture { display: block; position: relative; width: 245px; max-width: 100%; padding: 0; border: 6px solid #262134; background: #080617; border-radius: 31px; overflow: hidden; box-shadow: 0 25px 45px -27px #211727a6; }
.phone-capture > img { display: block; width: 100%; height: auto; aspect-ratio: 886 / 1920; object-fit: contain; }
.intro-phone { position: absolute; right: 0; top: 30px; width: 215px; transform: rotate(6deg); z-index: 3; }
.intro-phone .phone-expand { bottom: 18px; }
.daily { padding-top: 65px; }
.daily .mission-demo { background: #eae3ee; }
.daily .demo-orbit, .daily .demo-orbit::after { border-color: #cbc0d6; }
.daily .step-arrow, .daily .ticket-icon { color: #927047; }
.story-image { inset: -5% 0; width: 100%; height: 110%; transform: translate3d(0, var(--story-y, 0px), 0); }
.story-shade { background: linear-gradient(90deg, #11172cdb, #18203d75 58%, #16283908), linear-gradient(0deg, #10102f8a, transparent 55%); }
.story-content h2 em, .story-content .eyeline { color: #f3da9a; }
.world-showcase { background: #252b31; }
.world-showcase::before { background: linear-gradient(90deg, #111329da, #14223330 70%, transparent); }
.world-media-label { display: inline-block; position: absolute; top: 24px; right: 24px; background: #14142da3; color: #fff3d8; border: 1px solid #fff3d844; border-radius: 20px; padding: 5px 13px; font-size: .67rem; }
.world-index { display: none; }
.world-info h3 { line-height: 1.1; }

/* Actual character and equipment assets, presented as a collection. */
.arsenal-section { background: #19152d url('/img/brand/ciel-du-royaume.webp') center 70% / cover; color: #f9f1df; position: relative; isolation: isolate; overflow: clip; }
.arsenal-section::before { content: ''; position: absolute; inset: 0; background: #171329c9; z-index: -1; }
.arsenal-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; padding-block: 90px; }
.arsenal-copy .eyeline { color: #c9b6dd; }
.arsenal-copy h2 { font-size: clamp(3rem, 4.6vw, 4.7rem); }
.arsenal-copy h2 em { color: #c7c0ff; }
.arsenal-copy > p:not(.eyeline) { color: #cec4dd; max-width: 395px; margin-top: 25px; font-size: 1rem; }
.arsenal-copy > p.quiet { font-size: .72rem; color: #a799b9; }
.arsenal-display { position: relative; min-height: 460px; isolation: isolate; }
.arsenal-ring { position: absolute; width: 370px; height: 370px; max-width: 100%; top: 45px; left: 14%; border: 1px solid #cabbdd4f; border-radius: 50%; }
.arsenal-ring::after { content: ''; position: absolute; inset: 20px; border: 1px dashed #cabbdd38; border-radius: 50%; }
.arsenal-word { position: absolute; top: 15px; left: 0; right: 0; text-align: center; font-size: 2.9rem; font-weight: 300; letter-spacing: .13em; color: #c1b6e526; }
.arsenal-hero { position: absolute; left: 6%; top: 15px; width: 450px; max-width: 85%; filter: drop-shadow(0 15px 18px #07031270); }
.arsenal-sword { position: absolute; left: -10%; top: 50px; width: 215px; transform: rotate(-22deg); filter: drop-shadow(0 0 17px #3ab1fa30); }
.arsenal-shield { position: absolute; right: -15px; top: 125px; width: 175px; transform: rotate(15deg); filter: drop-shadow(0 0 20px #479ff72a); }
.arsenal-crown { position: absolute; right: 16px; top: -5px; width: 130px; transform: rotate(8deg); }
.arsenal-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: .67rem; letter-spacing: .05em; text-transform: uppercase; color: #d7c692; }
.companion-section { background: #e7ebd5; }
.companion-copy h2 em { color: #657844; }
.companion-copy .eyeline { color: #536442; }
.companion-word { color: #7d914027; }
/* The portraits have different transparent margins: size the visible silhouettes
   to about 50%, 75%, 100%, with their feet on the same baseline. */
#pistache-portrait {
  --growth-scale: .48;
  --growth-x: 1%;
  --growth-y: 0%;
  --portrait-lift: 0px;
  --portrait-turn: 0deg;
  transform-origin: 50% 100%;
  transform: translate(var(--growth-x), calc(var(--growth-y) + var(--portrait-lift))) rotate(var(--portrait-turn)) scale(var(--growth-scale));
}
#pistache-portrait[data-growth-stage="3"] {
  --growth-scale: 1.13;
  --growth-x: 8.63%;
  --growth-y: 21.66%;
}
#pistache-portrait[data-growth-stage="4"] {
  --growth-scale: 1;
  --growth-x: -5.42%;
}
@media (hover: hover) {
  #pistache-portrait:hover {
    --portrait-lift: -8px;
    --portrait-turn: 3deg;
  }
}
@media (max-width: 900px) {
  .companion-art .handwritten { bottom: -30px; }
}
.care-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; padding-block: 70px; border-bottom: 1px solid var(--line); }
.care-copy .eyeline { font-size: .65rem; }
.care-copy h2 { font-size: 2.55rem; }
.care-copy p:not(.eyeline) { font-size: .9rem; margin-top: 22px; max-width: 330px; }
.care-section .screen-landscape { transform: rotate(2deg); }
.care-section figcaption { margin-top: 23px; }

/* Three real parent screens; horizontal scrolling only within this rail on mobile. */
.parents-ios { padding-top: 90px; }
.parent-swipe-hint { display: none; }
.parent-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px; margin-top: 60px; }
.parent-phones article { display: flex; flex-direction: column; align-items: center; }
.parent-phone-heading { align-self: center; width: 260px; max-width: 100%; text-align: left; min-height: 165px; }
.parent-phone-heading > span { display: block; font-size: .68rem; color: #968366; margin-bottom: 12px; }
.parent-phone-heading h3 { font-size: 1.2rem; margin-bottom: 12px; }
.parent-phone-heading p { font-size: .9rem; max-width: 280px; }
.parent-phones .phone-capture { width: 260px; }
.parent-phones article:nth-child(2) .phone-capture { transform: none; }
.parent-reassurance { display: flex; align-items: center; gap: 17px; border-block: 1px solid var(--line); padding: 20px 0; font-size: .85rem; margin-top: 65px; max-width: 100%; }
.parent-reassurance svg { color: #867044; }
.school-ios { background: #ece2d0; padding-block: 80px; overflow: clip; }
.school-ios-inner { display: grid; grid-template-columns: .9fr 1.2fr; gap: 60px; align-items: center; }
.school-ios-copy { padding-bottom: 30px; }
.school-ios-copy .eyeline { font-size: .67rem; }
.school-ios-copy h2 { font-size: clamp(2.3rem, 3.3vw, 3.5rem); }
.school-ios-copy > p:not(.eyeline) { max-width: 420px; margin-top: 25px; font-size: .97rem; }
.school-ios-copy > p.quiet { font-size: .76rem; }
.school-ios-images { position: relative; height: 570px; }
.school-game { position: absolute; left: 0; top: 40px; width: 100%; transform: rotate(-5deg); }
.school-exercise { position: absolute; bottom: 0; right: -12px; width: 195px; transform: rotate(5deg); }
.school-exercise figcaption { font-size: .65rem; }
.school-game figcaption { max-width: 270px; }
.school-exercise .phone-capture { width: 100%; }

/* A filterable gallery shows every selected screenshot without distorting it. */
.gallery-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 42px 0 16px; }
.gallery-filters button { border: 1px solid #cfc5d4; border-radius: 30px; background: transparent; padding: 10px 20px; font-size: .8rem; min-height: 44px; }
.gallery-filters button[aria-pressed=true] { background: #3b2c50; border-color: #3b2c50; color: #fff2d1; }
.gallery-filters button:hover { border-color: #795c92; }
.gallery-count { margin-bottom: 22px; font-size: .72rem; }
.capture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.capture-card { display: flex; flex-direction: column; padding: 0; background: none; border: 0; min-width: 0; text-align: left; }
.capture-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1920 / 886; background: #ded7e4; border-radius: 12px; overflow: hidden; border: 1px solid #29213822; }
.capture-image img { width: 100%; height: 100%; object-fit: contain; }
.portrait-card .capture-image { background: #e6e0eb url('/img/brand/ciel-du-royaume.webp') center / cover; aspect-ratio: 1920 / 886; }
.portrait-card .capture-image img { width: auto; }
.capture-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; margin-top: 12px; font-size: .82rem; }
.capture-caption > span:last-child { font-size: 22px; color: #917a52; }
.capture-card:hover .capture-caption { color: #785399; }
.founder { background: #ece7df; }
.founder-inner > svg { color: #a68b55; }
.signup-section { background: #211831; }
.signup-copy h2 em { color: #f4d58a; }
.signup-copy > p:not(.eyeline), .beta-platforms { color: #d1c2dd; }
.signup-copy .eyeline { color: #e4d4b8; }
.beta-platforms > span { border-color: #cbb3da3b; }
.signup-compass { color: #d9c18f17; }
.image-dialog { background: #171227; border-color: #6e5783; }
.image-dialog::backdrop { background: #100a24e8; }
.dialog-close { background: #f2d993; }

@media (max-width: 1150px) {
  .opening-ios .opening-inner { min-height: 670px; gap: 20px; }
  .opening-ios h1 { font-size: 4.8rem; }
  .hero-composition { height: 545px; }
  .hero-artwork { top: 48px; }
  .hero-ios-screen { bottom: 70px; }
  .hero-pistache { width: 155px; height: 155px; left: -37px; bottom: 32px; }
  .hero-shield { width: 125px; height: 125px; right: -24px; top: 10px; }
  .hero-whisper { bottom: 18px; font-size: .86rem; }
  .ios-intro-stage { gap: 30px; padding-right: 130px; min-height: 470px; grid-template-columns: .8fr 1.2fr; }
  .intro-phone { width: 180px; top: 40px; }
  .ios-intro-copy h3 { font-size: 1.5rem; }
  .arsenal-inner { gap: 35px; }
  .arsenal-display { min-height: 420px; }
  .arsenal-hero { top: 35px; }
  .arsenal-ring { width: 320px; height: 320px; }
  .arsenal-sword { width: 190px; left: -13%; }
  .arsenal-shield { width: 145px; }
  .arsenal-crown { width: 115px; }
  .arsenal-word { font-size: 2.25rem; }
  .care-section { gap: 40px; }
  .care-copy h2 { font-size: 2.25rem; }
  .parent-phones { gap: 40px; }
  .parent-phone-heading { min-height: 175px; }
  .school-ios-inner { gap: 35px; }
  .school-ios-images { height: 490px; }
  .school-exercise { width: 165px; }
  .school-game figcaption { max-width: 210px; }
}
@media (max-width: 900px) {
  :root { --header: 76px; }
  .brand .brand-mark, .legal-page .brand .brand-mark { width: 35px; height: 52px; }
  .brand-name { font-size: 1.2rem; }
  .opening-ios .opening-inner { min-height: 650px; grid-template-columns: 1fr 1fr; padding-top: 45px; }
  .opening-ios h1 { font-size: 4rem; }
  .opening-ios .eyeline { font-size: .61rem; }
  .opening-ios .intro { font-size: .97rem; }
  .hero-composition { height: 480px; }
  .hero-artwork { top: 40px; width: 108%; left: -2%; }
  .hero-ios-screen { bottom: 86px; right: -3%; width: 108%; border-width: 5px; }
  .hero-shield { top: 0; width: 100px; height: 100px; }
  .hero-pistache { width: 130px; height: 130px; bottom: 45px; }
  .hero-whisper { bottom: 24px; right: 0; font-size: .79rem; }
  .hero-artwork figcaption { font-size: .56rem; left: 12px; top: 9px; }
  .screen-badge { font-size: .54rem; }
  .ios-intro-stage { min-height: 480px; grid-template-columns: .9fr 1.1fr; gap: 30px; padding-right: 100px; }
  .intro-phone { width: 145px; top: 112px; }
  .intro-landscape .screen-landscape { border-width: 5px; }
  .ios-intro-copy h3 { font-size: 1.4rem; }
  .ios-intro-copy > p { font-size: .85rem; }
  .intro-landscape figcaption { font-size: .65rem; max-width: 180px; }
  .arsenal-inner { grid-template-columns: .9fr 1.1fr; padding-block: 65px; gap: 30px; }
  .arsenal-copy h2 { font-size: 3rem; }
  .arsenal-copy > p:not(.eyeline) { font-size: .9rem; }
  .arsenal-copy > p.quiet { font-size: .68rem; }
  .arsenal-display { min-height: 360px; }
  .arsenal-ring { width: 270px; height: 270px; left: 7%; }
  .arsenal-hero { top: 45px; left: 2%; width: 340px; max-width: 92%; }
  .arsenal-sword { width: 150px; left: -16%; top: 60px; }
  .arsenal-shield { width: 120px; right: -18px; top: 170px; }
  .arsenal-crown { width: 95px; top: 30px; right: 0; }
  .arsenal-word { font-size: 1.9rem; }
  .arsenal-caption { font-size: .6rem; }
  .parent-phones { gap: 26px; }
  .parent-phone-heading { min-height: 185px; }
  .parent-phone-heading h3 { font-size: 1.06rem; }
  .parent-phone-heading p { font-size: .84rem; }
  .parent-phones .phone-capture { border-width: 5px; border-radius: 24px; }
  .care-section { grid-template-columns: .9fr 1.1fr; gap: 35px; }
  .care-copy h2 { font-size: 2rem; }
  .care-copy p:not(.eyeline) { font-size: .85rem; }
  .school-ios { padding-block: 65px; }
  .school-ios-inner { grid-template-columns: .9fr 1.1fr; gap: 35px; }
  .school-ios-copy .eyeline { font-size: .6rem; }
  .school-ios-copy h2 { font-size: 2.25rem; }
  .school-ios-copy > p:not(.eyeline) { font-size: .9rem; }
  .school-ios-copy > p.quiet { font-size: .71rem; }
  .school-ios-images { height: 430px; }
  .school-exercise { width: 138px; }
  .school-game { top: 10px; }
  .school-game figcaption { font-size: .64rem; max-width: 140px; }
  .school-exercise figcaption { font-size: .6rem; }
}
@media (max-width: 680px) {
  :root { --header: 72px; }
  .brand { gap: 9px; }
  .brand .brand-mark, .legal-page .brand .brand-mark { width: 32px; height: 47px; }
  .brand-name { font-size: 1.13rem; }
  .opening-ios .opening-inner { display: flex; min-height: 0; gap: 12px; padding-top: 40px; padding-bottom: 5px; }
  .opening-ios h1 { font-size: clamp(3.1rem, 11vw, 4.4rem); }
  .opening-ios .eyeline { font-size: .61rem; margin-bottom: 22px; }
  .opening-ios .intro { font-size: .98rem; max-width: 390px; margin-block: 22px; }
  .opening-ios .hero-actions { gap: 15px; }
  .opening-ios .hero-actions .button { font-size: .79rem; padding: 14px 17px; gap: 12px; }
  .opening-ios .hero-actions .text-link { font-size: .74rem; }
  .opening-ios .hero-beta { font-size: .69rem; }
  .hero-composition { height: 375px; width: 96%; max-width: 460px; margin: 15px auto 0; }
  .hero-orbit { inset: 3% -2% 10%; }
  .hero-artwork { top: 35px; left: -1%; width: 100%; border-radius: 12px; transform: rotate(-6deg); }
  .hero-artwork figcaption { font-size: .56rem; padding: 3px 7px; top: 8px; left: 8px; }
  .hero-ios-screen { bottom: 47px; right: -1%; width: 99%; padding-bottom: 29px; border-radius: 12px; transform: rotate(4deg); }
  .hero-pistache { width: 115px; height: 115px; bottom: 21px; left: -27px; }
  .hero-shield { width: 88px; height: 88px; right: -15px; top: 1px; }
  .hero-whisper { bottom: 3px; right: 11px; font-size: .75rem; }
  .screen-badge { font-size: .53rem; left: 10px; }
  .opening-ios .opening-bottom { padding-block: 18px; }
  .ios-intro { padding-bottom: 40px; }
  .ios-intro-stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 35px; padding: 10px 0 280px; }
  .ios-intro-copy h3 { font-size: 1.55rem; }
  .ios-intro-copy h3 br { display: none; }
  .ios-intro-copy > p { font-size: .92rem; max-width: 400px; margin: 15px 0; }
  .ios-intro-copy .text-link { font-size: .82rem; }
  .intro-landscape { width: 90%; transform: rotate(-5deg); }
  .intro-landscape::before { inset: -35px -25px -145px; }
  .intro-landscape figcaption { font-size: .65rem; max-width: 170px; margin-top: 14px; }
  .intro-phone { top: auto; bottom: 0; width: 156px; right: 13px; transform: rotate(5deg); }
  .phone-capture { border-width: 5px; border-radius: 25px; }
  .screen-landscape { border-width: 5px; border-radius: 12px; }
  .screen-expand, .phone-expand { width: 33px; height: 33px; font-size: 20px; right: 9px; bottom: 9px; }
  .daily { padding-top: 55px; }
  .world-showcase::before { background: linear-gradient(0deg, #252632 0%, #252632 27%, transparent 72%); }
  .world-info { padding-top: 3px; }
  .world-media-label { top: 16px; right: 14px; font-size: .59rem; padding: 4px 10px; }
  .arsenal-inner { grid-template-columns: 1fr; gap: 35px; padding-block: 60px; }
  .arsenal-copy h2 { font-size: 3rem; }
  .arsenal-copy > p:not(.eyeline) { font-size: .94rem; max-width: 390px; }
  .arsenal-copy > p.quiet { font-size: .72rem; }
  .arsenal-display { min-height: 385px; width: 100%; max-width: 420px; margin: 0 auto; }
  .arsenal-hero { width: 365px; max-width: 100%; left: 0; top: 20px; }
  .arsenal-ring { width: 290px; height: 290px; top: 35px; left: calc(50% - 145px); }
  .arsenal-sword { width: 155px; left: -28px; top: 50px; }
  .arsenal-shield { width: 130px; top: 175px; right: -17px; }
  .arsenal-crown { width: 104px; top: 4px; right: -1px; }
  .arsenal-word { top: 0; font-size: 1.95rem; }
  .arsenal-caption { font-size: .6rem; }
  .care-section { grid-template-columns: 1fr; gap: 35px; padding-block: 55px; }
  .care-copy h2 { font-size: 2.45rem; }
  .care-copy p:not(.eyeline) { font-size: .93rem; max-width: 410px; }
  .care-section figcaption { font-size: .67rem; line-height: 1.6; }
  .care-section .screen-landscape { transform: rotate(1deg); }
  .parents-ios { padding-top: 60px; }
  .parent-swipe-hint { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: var(--muted); font-size: .74rem; }
  .parent-swipe-hint svg { width: 20px; height: 20px; }
  .parent-phones { display: flex; overflow-x: auto; gap: 25px; scroll-snap-type: x proximity; padding: 5px 10px 30px; margin: 30px -10px 0; scrollbar-color: #a58aae #e6deea; scrollbar-width: thin; }
  .parent-phones article { flex: 0 0 82%; max-width: 300px; scroll-snap-align: center; padding-bottom: 15px; }
  .parent-phone-heading { width: 238px; min-height: 155px; }
  .parent-phone-heading h3 { font-size: 1.17rem; }
  .parent-phone-heading p { font-size: .9rem; max-width: 290px; }
  .parent-phones .phone-capture { width: 238px; border-radius: 29px; }
  .parent-phones article:nth-child(2) .phone-capture { transform: none; }
  .parent-reassurance { margin-top: 30px; align-items: flex-start; font-size: .82rem; line-height: 1.8; }
  .school-ios { padding-block: 60px; }
  .school-ios-inner { grid-template-columns: 1fr; gap: 30px; }
  .school-ios-copy { padding: 0; }
  .school-ios-copy h2 { font-size: 2.5rem; }
  .school-ios-copy > p:not(.eyeline) { font-size: .94rem; }
  .school-ios-copy > p.quiet { font-size: .74rem; }
  .school-ios-images { height: 495px; }
  .school-game { top: 5px; width: 92%; }
  .school-game figcaption { font-size: .66rem; max-width: 160px; }
  .school-exercise { width: 162px; right: 9px; bottom: 0; }
  .school-exercise figcaption { font-size: .61rem; }
  .gallery-filters { gap: 7px; margin-top: 30px; }
  .gallery-filters button { font-size: .73rem; padding: 9px 14px; }
  .capture-grid { grid-template-columns: 1fr; gap: 28px; }
  .capture-caption { font-size: .82rem; }
  .portrait-card .capture-image { aspect-ratio: 1 / 1.1; }
  .capture-image { border-radius: 9px; }
  .capture-note { font-size: .69rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 1rem; }
  .brand .brand-mark, .legal-page .brand .brand-mark { width: 28px; height: 43px; }
  .opening-ios h1 { font-size: 3.15rem; }
  .opening-ios .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-composition { height: 345px; }
  .hero-pistache { width: 104px; height: 104px; }
  .hero-shield { width: 78px; height: 78px; }
  .hero-artwork { top: 32px; }
  .screen-badge { font-size: .46rem; }
  .hero-whisper { font-size: .67rem; }
  .arsenal-hero { top: 40px; }
  .arsenal-word { font-size: 1.7rem; }
  .arsenal-display { min-height: 350px; }
  .arsenal-ring { width: 260px; height: 260px; left: calc(50% - 130px); }
  .arsenal-sword { width: 135px; }
  .arsenal-crown { width: 90px; }
  .arsenal-shield { width: 111px; }
  .parent-phones article { flex-basis: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-composition [data-depth], .hero-artwork > img { translate: none !important; will-change: auto; }
  .hero-artwork > img { transform: none; }
  .parent-phones { scroll-behavior: auto; scroll-snap-type: none; }
}
html[data-motion="reduced"] .hero-composition [data-depth] { translate: none !important; will-change: auto; }
html[data-motion="reduced"] .hero-artwork > img { transform: none; }

/* The live game hero, with mouse, keyboard and horizontal touch rotation. */
.arsenal-display.hero-viewer { min-height: 0; width: 100%; position: relative; }
.hero-viewer-goal { margin: 0 auto 6px; text-align: center; max-width: 430px; }
.hero-viewer-goal > span { color: #f3dfaa; font-family: Fraunces, Georgia, serif; font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.25; }
.hero-viewer-goal > p { color: #bdafcf; font-size: .77rem; margin-top: 8px; }
.hero-viewer-stage { height: 565px; position: relative; isolation: isolate; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; -webkit-user-select: none; border-radius: 28px; }
.hero-viewer-stage:focus-visible { outline: 2px solid #f2de9470; outline-offset: 4px; }
.hero-viewer-stage.is-dragging { cursor: grabbing; }
.hero-viewer-stage::before { content: ''; position: absolute; top: 14%; left: 10%; width: 80%; height: 72%; border: 1px solid #c9b7e321; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero-viewer-stage::after { content: ''; position: absolute; left: 25%; right: 25%; bottom: 35px; height: 22px; background: #08061599; filter: blur(12px); border-radius: 50%; z-index: 0; pointer-events: none; }
.hero-viewer-stage canvas, .hero-viewer-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; }
.hero-viewer-poster { pointer-events: none; object-fit: contain; }
[data-viewer-status="ready"] .hero-viewer-poster { visibility: hidden; }
[data-viewer-status="fallback"] canvas { display: none; }
[data-viewer-status="fallback"] .hero-viewer-stage { cursor: default; touch-action: auto; }
.hero-viewer-orbit { position: absolute; inset: 0; pointer-events: none; }
.viewer-item { position: absolute; top: 50%; left: 50%; width: 112px; transform: translate(-50%, -50%); z-index: 3; }
.viewer-item-art { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid #d6bb7561; background: radial-gradient(circle at 45% 35%, #423662, #19132de8 76%); box-shadow: 0 6px 18px #0e092943, inset 0 0 15px #b8a1dd0b; }
.viewer-item-art img { position: absolute; max-width: none; height: auto; transform: translate(-50%, -50%); }
.viewer-item figcaption { width: max-content; max-width: 140%; margin: 5px auto 0; padding: 2px 8px; border-radius: 15px; color: #f1e4c4; background: #1a142acf; font-size: .7rem; line-height: 1.3; text-align: center; }
/* Keep the static fallback inside the stage; the live orbit supplies inline styles. */
.viewer-item:not([style]):nth-child(1) { top: 14%; }
.viewer-item:not([style]):nth-child(2) { top: 32%; left: 92%; transform: translate(-100%, -50%); }
.viewer-item:not([style]):nth-child(3) { top: 68%; left: 92%; transform: translate(-100%, -50%); }
.viewer-item:not([style]):nth-child(4) { top: 86%; }
.viewer-item:not([style]):nth-child(5) { top: 68%; left: 8%; transform: translate(0, -50%); }
.viewer-item:not([style]):nth-child(6) { top: 32%; left: 8%; transform: translate(0, -50%); }
.hero-viewer-controls { display: flex; align-items: center; gap: 9px; padding: 12px 0 4px; border-top: 1px solid #c3afd32e; }
.hero-viewer-controls p { font-size: .77rem; line-height: 1.4; color: #d6c8e4; margin-right: auto; }
.viewer-3d { font-size: .61rem; border: 1px solid #d8c59c66; border-radius: 6px; color: #ead39a; padding: 2px 5px; }
.hero-viewer-controls button { background: #eee1ff0d; border: 1px solid #b5a0cb57; color: #eadcff; padding: 8px 12px; min-height: 44px; border-radius: 22px; font-size: .73rem; white-space: nowrap; }
.hero-viewer-controls button:hover { background: #d8baf326; }
.hero-viewer-controls button:disabled { opacity: .4; cursor: default; }
.hero-viewer-status { min-height: 26px; padding-top: 7px; text-align: center; color: #d7c692; font-size: .66rem; line-height: 1.5; }
@media (max-width: 1150px) { .hero-viewer-stage { height: 530px; } .viewer-item { width: 96px; } .hero-viewer-controls { gap: 7px; } .hero-viewer-controls button { padding-inline: 9px; font-size: .69rem; } .hero-viewer-controls p { font-size: .7rem; } }
@media (max-width: 900px) { .hero-viewer-stage { height: 485px; } .viewer-item { width: 80px; } .viewer-item figcaption { font-size: .62rem; } .hero-viewer-goal > span { font-size: 1.4rem; } .hero-viewer-controls { display: grid; grid-template-columns: auto 1fr 1fr; } .hero-viewer-controls p { grid-column: 2 / -1; } .hero-viewer-controls button:first-of-type { grid-column: 2; } }
@media (max-width: 680px) { .hero-viewer-stage { height: 500px; } .viewer-item { width: 77px; } .hero-viewer-goal > span { font-size: 1.4rem; } .hero-viewer-goal > p { font-size: .7rem; } .hero-viewer-controls { display: flex; flex-wrap: nowrap; } .hero-viewer-controls p { flex: 1; font-size: .68rem; } .hero-viewer-controls button { flex: 0; } .hero-viewer-status { font-size: .64rem; } }
