/* Download-specific spacing keeps the shared journal styles independent. */
.platform-logo{display:block;width:19px;height:19px;flex-shrink:0}
.platform-tab .platform-logo{filter:invert(1);opacity:.85}
.download-option .platform-logo{width:20px;height:20px}
.download-page:before,.download-page:after{display:none}
#download-dots{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.download-main,.download-page .page-footer{position:relative;z-index:1}
.download-main{padding-top:48px;padding-bottom:32px}
.download-stage{min-height:520px;padding:70px 6% 56px}
.download-heading,.platform-switcher,.download-note{width:49%;max-width:480px}
.download-heading h1{font-size:clamp(30px,3vw,40px)}
.download-heading>p:last-child{margin-top:18px;line-height:1.8}
.platform-switcher{margin-top:34px}
.platform-switcher:hover{transform:none;filter:none}
.platform-tabs{display:flex;gap:28px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.platform-tab{position:relative;min-height:42px;padding:0 2px;border-radius:0;color:#aab6cb}
.platform-tab.active,.platform-tab:hover{background:none;box-shadow:none;color:#f4fbff}
.platform-tab.active:after{content:"";position:absolute;bottom:0;left:2px;right:2px;height:2px;background:var(--cyan)}
.download-panels{margin-top:24px;min-height:132px;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.download-option{display:flex;justify-content:space-between;gap:24px;width:min(300px,100%);min-height:56px;padding:12px 20px;border:1px solid #8cf1ef;border-radius:12px;background:#8cf1ef;color:#071426}
a.download-option:hover{background:#b1faf5;transform:translateY(-2px)}
.download-option strong{font-size:15px;font-weight:720}
.download-option b{width:26px;height:26px;background:none;box-shadow:none;color:#071426;font-size:20px}
.package-detail{margin:15px 0 0;color:#b0bfd2;font-size:12px;line-height:1.6}
.availability-note{margin:8px 0 0;color:#99abc2;font-size:12px;line-height:1.6}
.download-note{margin-top:20px;color:#a7b7cc;font-size:12px}
.stage-atmosphere{width:49%;max-width:520px;right:-5%;bottom:-5%;mask-image:none;-webkit-mask-image:none}
.download-stage:before{inset:0 0 0 54%;opacity:.55}
.download-stage:after{right:-32%;opacity:.4}
@media(max-width:900px){
  .download-stage{padding:54px 32px;min-height:500px}
  .download-heading,.platform-switcher,.download-note{width:56%}
  .stage-atmosphere{width:46%;right:-4%;bottom:0}
}
/* A compact download dock retains the shared brand palette. */
.download-main{width:min(1120px,calc(100% - 64px));padding-top:42px}
.download-stage{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:270px auto auto;min-height:540px;padding:38px 44px 26px;overflow:hidden;border:0;background:radial-gradient(ellipse at 77% 34%,rgba(28,84,145,.28),transparent 45%);box-shadow:none}
.download-heading{align-self:center;width:100%;max-width:none;grid-column:1;grid-row:1}
.download-heading h1{font-size:clamp(32px,3.4vw,44px);line-height:1.3;letter-spacing:-.04em;text-wrap:nowrap;text-shadow:none}
.download-heading h1 span{display:block}
.download-heading .title-intro{color:#a8b9ce;font-size:.72em;font-weight:500;letter-spacing:-.02em;margin-bottom:6px}
.download-heading>p:last-child{margin-top:20px;color:#a7b7cc}
.stage-atmosphere{width:440px;max-width:48%;right:0;bottom:auto;top:-24px;transform:translate3d(calc(var(--pointer-x) * -8px),calc(var(--pointer-y) * -6px),0);z-index:-1}
.download-stage:before{inset:0 0 25% 50%;opacity:.4}
.download-stage:after{display:none}
.platform-switcher{grid-column:1 / -1;grid-row:2;align-self:end;display:grid;grid-template-columns:210px 1fr;gap:24px;width:100%;max-width:none;margin:20px 0 0;padding:26px 28px;border:1px solid rgba(132,186,220,.17);border-radius:18px;background:linear-gradient(110deg,rgba(14,31,53,.92),rgba(8,19,35,.9));backdrop-filter:blur(18px)}
.platform-tabs{flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;border-right:1px solid rgba(132,186,220,.15)}
.platform-tab{min-height:36px;padding:0 16px;color:#9aacc3}
.platform-tab.active:after{left:0;right:auto;bottom:9px;width:2px;height:18px}
.download-panels{margin:0;min-height:105px}
.download-option{width:100%;min-height:52px;border-radius:10px}
.package-detail{margin-top:12px}
.availability-note{margin-top:5px}
.download-note{grid-column:1 / -1;grid-row:3;width:100%;max-width:none;margin:16px 0 0;padding-left:28px;color:#9aacc3}
@media(max-width:900px){
 .download-main{width:calc(100% - 40px)}
 .download-stage{padding:22px 20px;grid-template-rows:260px auto auto}
 .stage-atmosphere{top:0;right:-15px;width:380px;max-width:50%}
 .platform-switcher{grid-template-columns:155px 1fr;padding:22px;gap:22px}
}
@media(max-width:640px){
 .download-main{width:calc(100% - 24px);padding-top:20px}
 .download-stage{display:flex;flex-direction:column;padding:24px 12px;min-height:0}
 .download-heading{order:0;text-align:center}
 .download-heading h1{font-size:30px;text-wrap:balance}
 .download-heading>p:last-child{margin:14px auto 0}
 .stage-atmosphere{order:1;position:relative;top:auto;right:auto;bottom:auto;width:240px;max-width:90%;margin:-6px auto -30px;z-index:-1}
 .platform-switcher{order:2;display:block;width:100%;margin:0;padding:22px}
 .platform-tabs{flex-direction:row;justify-content:flex-start;gap:24px;border-right:0;margin-bottom:20px}
 .platform-tab{padding:0 0 6px}
 .platform-tab.active:after{left:0;right:0;bottom:0;width:auto;height:2px}
.download-note{order:3;padding:0;text-align:center;font-size:12px}
}
/* Centered composition without the promotional character. */
.download-main{width:min(800px,calc(100% - 40px));padding-top:48px;padding-bottom:48px}
.download-stage{display:flex;flex-direction:column;align-items:center;min-height:0;padding:32px 24px 30px;overflow:visible;background:radial-gradient(ellipse at 50% 55%,rgba(28,84,145,.16),transparent 65%)}
.download-stage:before{inset:10% 0;opacity:.22}
.download-heading{width:100%;text-align:center}
.download-heading h1{font-size:clamp(32px,3.4vw,42px);text-wrap:balance;margin-inline:auto}
.download-heading .title-intro{font-size:.76em;margin-bottom:8px}
.download-heading>p:last-child{margin:20px auto 0;max-width:none}
.platform-switcher{display:block;width:min(460px,100%);margin:38px auto 0;padding:24px 28px 26px;border-color:rgba(132,186,220,.14);background:linear-gradient(145deg,rgba(14,31,53,.85),rgba(8,19,35,.88))}
.platform-tabs{flex-direction:row;justify-content:center;align-items:center;gap:40px;border:0;margin-bottom:24px}
.platform-tab{padding:0 2px 8px;min-height:40px}
.platform-tab.active:after{left:2px;right:2px;bottom:0;width:auto;height:2px}
.download-panels{min-height:112px;text-align:center}
.download-option{justify-content:center;position:relative;padding:14px 44px;min-height:54px}
.download-option b{position:absolute;right:18px}
.package-detail{margin-top:16px}
.availability-note{margin-top:6px}
.download-note{width:100%;padding:0;margin:20px auto 0;text-align:center}
@media(max-width:640px){
 .download-main{width:calc(100% - 24px);padding-top:24px;padding-bottom:30px}
 .download-stage{padding:24px 12px}
 .download-heading h1{font-size:30px}
 .platform-switcher{margin-top:30px;padding:22px 20px}
 .platform-tabs{gap:36px}
}
.download-page .platform-switcher{border:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.download-page .download-stage{background:none;border:0;box-shadow:none}
.download-page .download-stage:before,.download-page .download-stage:after{display:none}
.download-page .download-option{gap:12px}
/* Fill the viewport vertically; adapt composition instead of enlarging type. */
.download-page{display:flex;flex-direction:column;min-height:100svh}
.download-page .topbar{flex-shrink:0}
.download-page .download-main{flex:1;display:flex;align-items:center;justify-content:center;width:min(1200px,calc(100% - 96px));padding:48px 0}
.download-page .download-stage{width:100%;padding:0}
.download-page .page-footer{flex-shrink:0;width:min(1200px,calc(100% - 96px));margin:0 auto;padding:22px 0 26px}
.download-page .platform-switcher{padding:0;margin-top:34px;width:min(440px,100%)}
.download-page .download-note{margin-top:16px}
@media(min-width:1100px){
 .download-page .download-stage{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);grid-template-rows:auto auto;column-gap:clamp(64px,8vw,140px);align-items:center}
 .download-page .download-heading{grid-column:1;grid-row:1 / 3;text-align:left;align-self:center}
 .download-page .download-heading h1{font-size:clamp(38px,3.2vw,48px);margin:0}
 .download-page .download-heading .title-intro{margin-bottom:14px}
 .download-page .download-heading>p:last-child{margin:24px 0 0}
 .download-page .platform-switcher{grid-column:2;grid-row:1;margin:0;width:100%;align-self:center}
 .download-page .download-note{grid-column:2;grid-row:2;margin-top:12px}
 .download-page .platform-tabs{margin-bottom:30px}
 .download-page .download-option{min-height:60px}
}
@media(max-width:640px){
 .download-page .download-main{width:calc(100% - 40px);padding:40px 0}
 .download-page .page-footer{width:calc(100% - 40px);padding:18px 0 22px}
 .download-page .download-option{padding-inline:38px;font-size:14px}
 .download-page .download-option strong{font-size:14px}
}
@media(max-height:650px) and (min-width:641px){
 .download-page .download-main{padding:28px 0}
 .download-page .download-heading h1{font-size:34px}
 .download-page .platform-switcher{margin-top:20px}
}
/* Reference layout: heading, platform choices, then package on one axis. */
.download-page .download-stage{display:flex;flex-direction:column;align-items:center;gap:0;width:min(920px,100%)}
.download-page .download-heading{text-align:center;width:100%;align-self:center}
.download-page .download-heading h1{margin-inline:auto;font-size:clamp(32px,3.2vw,44px)}
.download-page .download-heading>p:last-child{margin:20px auto 0}
.download-page .platform-switcher{width:min(620px,100%);margin:36px auto 0}
.download-page .platform-tabs{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:28px}
.download-page .platform-tab{min-height:52px;justify-content:center}
.download-page .platform-tab.active:after{left:30%;right:30%}
.download-page .download-panels{min-height:112px}
.download-page .download-option{width:100%;min-height:60px}
.download-page .download-note{margin:18px auto 0;text-align:center}
@media(max-width:640px){
 .download-page .platform-switcher{margin-top:28px}
 .download-page .platform-tabs{gap:16px;margin-bottom:20px}
 .download-page .download-heading h1{font-size:30px}
 .download-page .download-option{min-height:54px}
}
/* App introduction: icon, product name, one sentence, focused download. */
.download-page .download-main{padding:36px 0 40px}
.download-app-icon{display:block;width:88px;height:88px;object-fit:contain;margin:0 auto 28px;border-radius:22px;box-shadow:0 10px 36px #0003}
.download-page .download-heading h1{font-size:clamp(44px,5vw,64px);font-weight:550;line-height:1.12;letter-spacing:-.04em}
.download-page .download-heading>p:last-child{font-size:clamp(14px,1.5vw,19px);line-height:1.8;margin:24px auto 0;max-width:700px;text-wrap:balance}
.download-page .platform-switcher{width:min(380px,100%);margin:28px auto 0}
.download-page .platform-tabs{display:flex;justify-content:center;gap:32px;margin-bottom:20px}
.download-page .platform-tab{min-height:36px;gap:8px}
.download-page .platform-tab strong{font-size:12px;font-weight:550}
.download-page .platform-tab .platform-logo{width:15px;height:15px}
.download-page .platform-tab.active:after{left:0;right:0}
.download-page .download-option{width:min(300px,100%);margin-inline:auto;border-radius:999px;min-height:56px}
.download-page .download-panels{min-height:114px}
.download-page .package-detail{font-size:11px}
.download-page .availability-note{font-size:11px}
.download-page .download-note{font-size:11px;margin-top:12px}
@media(max-width:640px){
 .download-page .download-main{padding:30px 0}
 .download-app-icon{width:72px;height:72px;border-radius:18px;margin-bottom:24px}
 .download-page .download-heading h1{font-size:44px}
 .download-page .download-heading>p:last-child{max-width:310px;font-size:15px;margin-top:18px}
}
@media(max-height:700px) and (min-width:641px){
 .download-app-icon{width:60px;height:60px;margin-bottom:18px;border-radius:15px}
 .download-page .download-heading h1{font-size:44px}
 .download-page .download-heading>p:last-child{margin-top:14px}
 .download-page .platform-switcher{margin-top:18px}
 .download-page .download-main{padding:24px 0}
}
/* Group identity tightly, then give the download controls their own rhythm. */
.download-page .download-heading{display:flex;flex-direction:column;align-items:center}
.download-page .download-app-icon{width:88px;height:88px;margin:0 auto 16px;border-radius:0;box-shadow:none;transform:scale(1.12)}
.download-page .download-heading h1{font-size:clamp(42px,4vw,52px);font-weight:600;line-height:1.15;letter-spacing:-.035em}
.download-page .download-heading>p:last-child{margin:12px auto 0;font-size:16px;line-height:1.7;max-width:560px;color:#b3bfd0}
.download-page .platform-switcher{margin:32px auto 0}
.download-page .platform-tabs{margin-bottom:16px;gap:30px}
.download-page .download-panels{min-height:108px}
.download-page .download-note{margin-top:4px;color:#99abc2}
@media(max-width:640px){
 .download-page .download-app-icon{width:72px;height:72px;margin-bottom:14px}
 .download-page .download-heading h1{font-size:40px}
 .download-page .download-heading>p:last-child{font-size:14px;max-width:300px;margin-top:12px}
 .download-page .platform-switcher{margin-top:26px}
}
@media(max-height:700px) and (min-width:641px){
 .download-page .download-app-icon{width:60px;height:60px;margin-bottom:12px}
 .download-page .download-heading h1{font-size:40px}
 .download-page .platform-switcher{margin-top:22px}
}
